Performance improvements in blocks and Entities

This commit is contained in:
Shoghi Cervantes
2014-08-24 14:08:17 +02:00
parent 84ce5f1c73
commit 01ebe74974
9 changed files with 145 additions and 147 deletions

View File

@ -117,7 +117,7 @@ abstract class Tile extends Position{
if(($level = $this->getLevel()) instanceof Level){
$level->removeTile($this);
}
$this->level->release();
unset($this->level);
}
}