Remove Position->setWorld()

This commit is contained in:
Dylan K. Taylor
2020-05-19 18:33:16 +01:00
parent 148228e360
commit 8a8b1b0b97
5 changed files with 26 additions and 24 deletions

View File

@ -131,8 +131,8 @@ abstract class Tile{
if($this->pos->isValid()){
$this->pos->getWorldNonNull()->removeTile($this);
$this->pos->setWorld(null);
}
$this->pos = null;
}
}
}