Fix #1906: Rule_Relaunch is saved properly in Objects.c by using GetRelaunchRule() instead of CreateObject()

install-platforms
Martin Strohmeier 2017-10-27 18:51:14 +02:00
parent 2c4aba74f0
commit 4d1a000ed8
1 changed files with 2 additions and 0 deletions

View File

@ -393,6 +393,8 @@ public func SaveScenarioObject(props, ...)
props->AddCall("FreeCrew", this, "SetFreeCrew", free_crew);
if (respawn_at_base)
props->AddCall("BaseRespawn", this, "SetBaseRespawn", respawn_at_base);
props->RemoveCreation();
props->Add(SAVEOBJ_Creation, "GetRelaunchRule()");
return true;
}