mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- do not call OnRegister when saving a game.
This commit is contained in:
parent
6928e019ca
commit
0b09c2b20a
1 changed files with 1 additions and 1 deletions
|
@ -993,7 +993,7 @@ void FLevelLocals::Serialize(FSerializer &arc, bool hubload)
|
||||||
// [ZZ] serialize events
|
// [ZZ] serialize events
|
||||||
arc("firstevent", localEventManager->FirstEventHandler)
|
arc("firstevent", localEventManager->FirstEventHandler)
|
||||||
("lastevent", localEventManager->LastEventHandler);
|
("lastevent", localEventManager->LastEventHandler);
|
||||||
localEventManager->CallOnRegister();
|
if (arc.isReading()) localEventManager->CallOnRegister();
|
||||||
Thinkers.SerializeThinkers(arc, hubload);
|
Thinkers.SerializeThinkers(arc, hubload);
|
||||||
arc("polyobjs", Polyobjects);
|
arc("polyobjs", Polyobjects);
|
||||||
SerializeSubsectors(arc, "subsectors");
|
SerializeSubsectors(arc, "subsectors");
|
||||||
|
|
Loading…
Reference in a new issue