From: Neil Date: Sat, 5 Mar 2016 20:00:13 +0000 (+0200) Subject: Fix name X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=2b0629ee373182e858261372f8c396b010052efd;p=koperkapel.git Fix name --- diff --git a/koperkapel/scenes/level.py b/koperkapel/scenes/level.py index e5d102a..7978a73 100644 --- a/koperkapel/scenes/level.py +++ b/koperkapel/scenes/level.py @@ -146,7 +146,7 @@ class GameLevelScene(BaseLevelScene): def _can_move(self, x, y): if self._mode == 'walk': - if not self._level.is_on_enemy(x, y): + if not self._level.enemy_at(x, y): return self._level.can_walk(x, y, self._level_layer) return False elif self._mode == 'fly':