diff --git a/processors/debug.py b/processors/debug.py index ba3c261..3c6630d 100644 --- a/processors/debug.py +++ b/processors/debug.py @@ -12,7 +12,7 @@ def process(self): dijkstra_map = self.world.map.dijkstra_map key = self.world.key key_char = None - mouse_pose = self.world.mouse_pos + mouse_pos = self.world.mouse_pos con_obj = self._consoles['con'] # type: (console, x, y, w, h) map_obj = self._consoles['map'] diff --git a/processors/input.py b/processors/input.py index 865c255..36089f8 100644 --- a/processors/input.py +++ b/processors/input.py @@ -104,7 +104,7 @@ def process(self): if state == 'Game' and eng.energy == 0: action = generic_move_keys(key_char, key_scancode) - if key_char == 'd' and not key.mod: + if key_char == 'd' and not key.mod & libtcod.event.KMOD_CTRL: action = {'drop': True} if key_char == 'e': action = {'consume': True}