From b4f95fad11eda97d0492abaa8ca3cadb905d0040 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sun, 9 Jun 2013 18:53:39 +0200 Subject: [PATCH] Fix --- src/API/LevelAPI.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/API/LevelAPI.php b/src/API/LevelAPI.php index b31bf57ff..01f5fae47 100644 --- a/src/API/LevelAPI.php +++ b/src/API/LevelAPI.php @@ -219,6 +219,7 @@ class LevelAPI{ } public function __destruct(){ + $this->saveAll(); foreach($this->levels as $level){ $this->unloadLevel($level, true); }