diff --git a/mapeditor.cpp b/mapeditor.cpp index e22a2e44..01fbfc24 100644 --- a/mapeditor.cpp +++ b/mapeditor.cpp @@ -461,6 +461,7 @@ EX namespace mapstream { #if CAP_ARCM if(geometry == gArchimedean) f.write(arcm::current.symbol); #endif + if(geometry == gArbitrary) f.write(arb::current.filename); if(geometry == gNil) { f.write(S7); f.write(nilv::nilperiod); @@ -543,6 +544,12 @@ EX namespace mapstream { } } #endif + if(geometry == gArbitrary) { + string s; + f.read(s); + arb::run(s); + stop_game(); + } #if CAP_ARCM if(geometry == gArchimedean) { string& symbol = arcm::current.symbol; diff --git a/system.cpp b/system.cpp index c9d68f4c..eb24a5a5 100644 --- a/system.cpp +++ b/system.cpp @@ -1209,6 +1209,14 @@ EX void loadsave() { for(int i=0; i