#include "msg.hpp"
#include "mainloop.hpp"
#include "worldmap.hpp"
+#include "world.hpp"
#include "squirrel_error.hpp"
#include "wrapper_util.hpp"
player_status->set_keys(new_key);
}
+void save_state()
+{
+ if(World::current() == NULL)
+ throw std::runtime_error("Can't save state without active World");
+
+ World::current()->save_state();
+}
+
}