- fixed: The static event manager never got a link to the primary level.
This commit is contained in:
parent
37a79470de
commit
f38060d01b
4 changed files with 6 additions and 5 deletions
|
|
@ -423,7 +423,7 @@ void P_SetupLevel(FLevelLocals *Level, int position, bool newGame)
|
|||
|
||||
// [ZZ] init per-map static handlers. we need to call this before everything is set up because otherwise scripts don't receive PlayerEntered event
|
||||
// (which happens at god-knows-what stage in this function, but definitely not the last part, because otherwise it'd work to put E_InitStaticHandlers before the player spawning)
|
||||
Level->localEventManager->InitStaticHandlers(true);
|
||||
Level->localEventManager->InitStaticHandlers(Level, true);
|
||||
|
||||
// generate a checksum for the level, to be included and checked with savegames.
|
||||
map->GetChecksum(Level->md5);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue