|
|
@ -2084,8 +2084,7 @@ void Core::handleLoadAndUnloadScripts(color_ostream& out, state_change_event eve
|
|
|
|
if (!df::global::world)
|
|
|
|
if (!df::global::world)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
std::string rawFolder = !isWorldLoaded() ? "" :
|
|
|
|
std::string rawFolder = !isWorldLoaded() ? "" : "save/" + World::ReadWorldFolder() + "/init";
|
|
|
|
"save/" + (df::global::world->cur_savegame.save_dir) + "/init";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
auto i = table.find(event);
|
|
|
|
auto i = table.find(event);
|
|
|
|
if ( i != table.end() ) {
|
|
|
|
if ( i != table.end() ) {
|
|
|
|