This commit is contained in:
Shoghi Cervantes 2014-03-01 21:55:10 +01:00
parent 75b34b6c2a
commit c8deefdb12

View File

@ -77,6 +77,7 @@ class PMFLevel extends PMF{
}
public function saveData(){
$this->levelData["version"] = PMFLevel::VERSION;
@ftruncate($this->fp, 5);
$this->seek(5);
$this->write(chr($this->levelData["version"]));