Changeset 283:1dd05d03ad21 for nagslang


Ignore:
Timestamp:
Sep 5, 2013, 2:15:37 PM (7 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Message:

Fire on Ctrl too (z isn't convenient on Dvorak)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/screens/area.py

    r281 r283  
    130130                self.protagonist.toggle_form()
    131131                self.world.transformations += 1
    132             if ev.key == pygame.locals.K_z:
     132            if ev.key in (pygame.locals.K_z, pygame.locals.K_LCTRL):
    133133                self.world.attacks += 1
    134134                self.protagonist.attack()
Note: See TracChangeset for help on using the changeset viewer.