mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
Made replay menu easier to use.
This commit is contained in:
parent
e96661b1ce
commit
b603727491
@ -75,7 +75,7 @@ int gI_DefaultTeamSlots = 0;
|
||||
|
||||
// server specific
|
||||
float gF_Tickrate = 0.0;
|
||||
char gS_Map[256];
|
||||
char gS_Map[192];
|
||||
int gI_ExpectedBots = 0;
|
||||
ConVar bot_quota = null;
|
||||
any gA_CentralCache[CENTRALBOTCACHE_SIZE];
|
||||
@ -396,8 +396,8 @@ public void OnMapStart()
|
||||
|
||||
gB_ForciblyStopped = false;
|
||||
|
||||
GetCurrentMap(gS_Map, 256);
|
||||
GetMapDisplayName(gS_Map, gS_Map, 256);
|
||||
GetCurrentMap(gS_Map, 192);
|
||||
GetMapDisplayName(gS_Map, gS_Map, 192);
|
||||
|
||||
if(!gB_Enabled)
|
||||
{
|
||||
@ -1554,7 +1554,7 @@ public int MenuHandler_ReplaySubmenu(Menu menu, MenuAction action, int param1, i
|
||||
if(StrEqual(info, "stop"))
|
||||
{
|
||||
StopCentralReplay(param1);
|
||||
OpenReplayMenu(param1);
|
||||
OpenReplaySubMenu(param1, gI_Track[param1]);
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -1570,7 +1570,7 @@ public int MenuHandler_ReplaySubmenu(Menu menu, MenuAction action, int param1, i
|
||||
{
|
||||
Shavit_PrintToChat(param1, "%T", "CentralReplayPlaying", param1);
|
||||
|
||||
OpenReplayMenu(param1);
|
||||
OpenReplaySubMenu(param1, gI_Track[param1]);
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user