engine: add missing Sequence_Init and Sequence_OnLevelLoad calls

This commit is contained in:
Alibek Omarov
2023-04-03 04:12:47 +03:00
parent 004ac8105e
commit d8355a651f
2 changed files with 8 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ GNU General Public License for more details.
#include "library.h"
#include "voice.h"
#include "pm_local.h"
#include "sequence.h"
#if XASH_LOW_MEMORY != 2
int SV_UPDATE_BACKUP = SINGLEPLAYER_BACKUP;
@@ -1011,6 +1012,8 @@ qboolean SV_SpawnServer( const char *mapname, const char *startspot, qboolean ba
SV_InitEdict( ent );
}
Sequence_OnLevelLoad( sv.name );
// heartbeats will always be sent to the id master
NET_MasterClear();