mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
SV_StopServer: Use G_SetGamestate instead of a direct write
An apparent oversight identified while working on the previous commit.
This commit is contained in:
parent
0c645810c6
commit
3796c437ec
1 changed files with 3 additions and 1 deletions
|
|
@ -3990,7 +3990,9 @@ void SV_StopServer(void)
|
|||
Y_EndIntermission();
|
||||
if (gamestate == GS_VOTING)
|
||||
Y_EndVote();
|
||||
gamestate = wipegamestate = GS_NULL;
|
||||
|
||||
G_SetGamestate(GS_NULL);
|
||||
wipegamestate = GS_NULL;
|
||||
|
||||
for (i = 0; i < MAXSPLITSCREENPLAYERS; i++)
|
||||
((UINT16*)localtextcmd[i])[0] = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue