Fixed already loaded worlds

This commit is contained in:
Shoghi Cervantes Pueyo 2013-05-17 13:14:52 +02:00
parent 651398e500
commit b82e9b2895

View File

@ -102,7 +102,7 @@ class LevelAPI{
public function loadLevel($name){
if($this->get($name) !== false){
return false;
return true;
}
$path = DATA_PATH."worlds/".$name."/";
if(!file_exists($path."level.pmf")){