Some initial work on getting load/save working for Levelsets
[supertux.git] / src / supertux / game_session.cpp
index 77af377..028d51c 100644 (file)
@@ -407,6 +407,12 @@ GameSession::setup()
 }
 
 void
+GameSession::leave()
+{
+  m_savegame.save();
+}
+
+void
 GameSession::update(float elapsed_time)
 {
   // handle controller