From d2333c15c31c4a002c1ff3f7f9f0493f068082ae Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Thu, 16 Jun 2022 23:13:06 +0200 Subject: [PATCH] racing:: restore_goals on save --- mapeditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/mapeditor.cpp b/mapeditor.cpp index 20f2053b..44a693e6 100644 --- a/mapeditor.cpp +++ b/mapeditor.cpp @@ -691,6 +691,7 @@ EX namespace mapstream { void save_only_map(hstream& f) { f.write(patterns::whichPattern); save_geometry(f); + if(racing::on) racing::restore_goals(); // game settings f.write(safety);