mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- fixed: static event handlers must also receive WorldLoaded events on loading a savegame.
This commit is contained in:
parent
9ab57e242b
commit
d893299185
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ void EventManager::WorldLoaded()
|
|||
{
|
||||
for (DStaticEventHandler* handler = FirstEventHandler; handler; handler = handler->next)
|
||||
{
|
||||
if (savegamerestore) continue; // don't execute WorldLoaded for handlers loaded from the savegame.
|
||||
if (!handler->IsStatic() && savegamerestore) continue; // don't execute WorldLoaded for handlers loaded from the savegame.
|
||||
handler->WorldLoaded();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue