Skip to content
Permalink
Browse files

Fix #1906: Rule_Relaunch is saved properly in Objects.c by using GetR…

…elaunchRule() instead of CreateObject()
  • Loading branch information...
Martin Strohmeier
Martin Strohmeier committed Oct 27, 2017
1 parent 2c4aba7 commit 4d1a000ed8d5a05f54ad8183481eced718f2afa2
Showing with 2 additions and 0 deletions.
  1. +2 −0 planet/Objects.ocd/Rules.ocd/Relaunch.ocd/Script.c
@@ -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;
}

0 comments on commit 4d1a000

Please sign in to comment.
You can’t perform that action at this time.