tuturto/pyherc — Issue #2: Exiting dungeon will crash the game
Author: tuturto
Created: 2012-02-21 06:01:41+00:00
State: open

File "src\pyherc\gui\windows.py", line 179, in __handlePlayerInput
MoveParameters(player, direction, 'walk')
File "src\pyherc\data\model.py", line 283, in create_action
action = self.action_factory.get_action(action_parameters)
File "src\pyherc\rules\public.py", line 61, in get_action
return factory.get_action(parameters)
File "src\pyherc\rules\factory.py", line 68, in get_action
return sub.get_action(parameters)
File "src\pyherc\rules\move\factories.py", line 116, in get_action
if newLevel.get_wall_tile(newLocation[0], newLocation[1]) != pyherc.data.tiles.WALL_EMPTY:
AttributeError: 'NoneType' object has no attribute 'get_wall_tile'