forked from Mirrors/openclonk
Fix #1906: Rule_Relaunch is saved properly in Objects.c by using GetRelaunchRule() instead of CreateObject()
parent
2c4aba74f0
commit
4d1a000ed8
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue