This commit is contained in:
Gray
2024-03-16 18:43:50 -04:00
parent 724cf50267
commit bf5fd426c6
3 changed files with 13 additions and 5 deletions

View File

@@ -86,6 +86,7 @@ extern inline bool bEnableBotTick = false;
extern inline bool bZoneReversing = false;
extern inline bool bEnableCombinePickup = false;
extern inline int AmountOfBotsToSpawn = 0;
extern inline int WarmupRequiredPlayerCount = 1;
extern inline bool bEnableRebooting = false;
extern inline bool bEngineDebugLogs = false;
extern inline bool bStartedBus = false;
@@ -710,6 +711,11 @@ static inline void MainUI()
SetIsLategame(bWillBeLategame);
}
if (!Globals::bStartedListening) // hm
{
ImGui::SliderInt("Players required to start the match", &WarmupRequiredPlayerCount, 1, 100);
}
ImGui::Text(std::format("Joinable {}", Globals::bStartedListening).c_str());
static std::string ConsoleCommand;
@@ -1412,6 +1418,8 @@ static inline void PregameUI()
ImGui::SliderInt("Seconds until load into map", &SecondsUntilTravel, 1, 100);
}
ImGui::SliderInt("Players required to start the match", &WarmupRequiredPlayerCount, 1, 100);
if (!Globals::bCreative)
ImGui::InputText("Playlist", &PlaylistName);