This commit is contained in:
Milxnor
2023-05-19 23:18:56 -04:00
parent 42f4e637e7
commit bb5a5620e8
16 changed files with 225 additions and 22 deletions

View File

@@ -278,13 +278,10 @@ static inline void StaticUI()
{
// ImGui::Checkbox("Auto Restart", &Globals::bAutoRestart);
if (false)
if (Globals::bAutoRestart)
{
if (Globals::bAutoRestart)
{
ImGui::InputFloat(std::format("How long after {} players join the bus will start", NumRequiredPlayersToStart).c_str(), &AutoBusStartSeconds);
ImGui::InputInt("Num Players required for bus auto timer", &NumRequiredPlayersToStart);
}
ImGui::InputFloat(std::format("How long after {} players join the bus will start", NumRequiredPlayersToStart).c_str(), &AutoBusStartSeconds);
ImGui::InputInt("Num Players required for bus auto timer", &NumRequiredPlayersToStart);
}
}