Fix missing ImGui::End in multiplayer windows

Signed-off-by: Bindless-Chicken <1039134+Bindless-Chicken@users.noreply.github.com>
This commit is contained in:
Bindless-Chicken
2022-01-17 14:25:50 +00:00
parent 76ff7aec29
commit aac28f73aa
@@ -386,7 +386,6 @@ namespace Multiplayer
}
ImGui::NewLine();
}
ImGui::End();
}
void DrawMultiplayerStats()
@@ -437,7 +436,6 @@ namespace Multiplayer
ImGui::EndTable();
ImGui::NewLine();
}
ImGui::End();
}
void MultiplayerDebugSystemComponent::OnImGuiUpdate()
@@ -448,6 +446,7 @@ namespace Multiplayer
{
DrawNetworkingStats();
}
ImGui::End();
}
if (m_displayMultiplayerStats)
@@ -456,6 +455,7 @@ namespace Multiplayer
{
DrawMultiplayerStats();
}
ImGui::End();
}
if (m_displayPerEntityStats)
@@ -473,6 +473,7 @@ namespace Multiplayer
m_reporter->OnImGuiUpdate();
}
}
ImGui::End();
}
if (m_displayHierarchyDebugger)
@@ -489,6 +490,7 @@ namespace Multiplayer
m_hierarchyDebugger->OnImGuiUpdate();
}
}
ImGui::End();
}
else
{