aboutsummaryrefslogtreecommitdiff
path: root/inputs
diff options
context:
space:
mode:
Diffstat (limited to 'inputs')
-rw-r--r--inputs/PygameInput.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/inputs/PygameInput.py b/inputs/PygameInput.py
index e07592b..1f438d6 100644
--- a/inputs/PygameInput.py
+++ b/inputs/PygameInput.py
@@ -9,6 +9,7 @@ class PygameInput(Input):
#try:
if self['FollowMouse']:
self.respond({Util.location: pygame.mouse.get_pos()})
+ return
for event in pygame.event.get():
if event.type is KEYDOWN:
self.respond({Util.location: (5,5),'Key': event.key})