From 2b0629ee373182e858261372f8c396b010052efd Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 5 Mar 2016 22:00:13 +0200 Subject: [PATCH] Fix name --- koperkapel/scenes/level.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': -- 2.34.1