Commits

Radomir Dopieralski committed 68e02a3

ctrl

  • Participants
  • Parent commits 4793e22

Comments (0)

Files changed (2)

             direction = None
         if direction is not None:
             self.face = direction
+            if keys[pygame.K_LCTRL]:
+                return False
             pos = dpos(self.pos, direction)
             mob = level.mobs.get(pos)
             if mob:
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
-from fujo import __main__
+try:
+    import pygame
+except ImportError:
+    raise SystemExit("You need to install PyGame.")
+else:
+    from fujo import __main__