- Change ScriptInterpreter to a gameobject, so we can now have several script
[supertux.git] / src / game_session.cpp
index cec4a01..edf057f 100644 (file)
@@ -636,6 +636,12 @@ GameSession::run()
 }
 
 void
+GameSession::finish()
+{
+  exit_status = ES_LEVEL_FINISHED;
+}
+
+void
 GameSession::respawn(const std::string& sector, const std::string& spawnpoint)
 {
   newsector = sector;