Fixed not being able to toggle the new central bot.

This commit is contained in:
shavitush 2017-07-13 20:22:26 +03:00
parent 9334951f39
commit 9c23e1552c
2 changed files with 6 additions and 1 deletions

View File

@ -176,6 +176,11 @@ public void OnConVarChanged(ConVar convar, const char[] oldValue, const char[] n
gI_NameStyle = gCV_NameStyle.IntValue; gI_NameStyle = gCV_NameStyle.IntValue;
gI_DefaultTeam = gCV_NameStyle.IntValue; gI_DefaultTeam = gCV_NameStyle.IntValue;
gB_CentralBot = gCV_CentralBot.BoolValue; gB_CentralBot = gCV_CentralBot.BoolValue;
if(convar == gCV_CentralBot)
{
OnMapStart();
}
} }
public int Native_GetReplayBotFirstFrame(Handle handler, int numParams) public int Native_GetReplayBotFirstFrame(Handle handler, int numParams)

View File

@ -112,7 +112,7 @@
} }
"NoReplayData" "NoReplayData"
{ {
"en" "No replay data loaded\nPress USE to play" "en" "No replay data loaded\nPress USE or beat #1 to play"
} }
// ---------- Panels ---------- // // ---------- Panels ---------- //
"SpectatorPersonal" "SpectatorPersonal"