aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar rcoh <rcoh@mit.edu>2011-01-29 19:36:39 -0500
committerGravatar rcoh <rcoh@mit.edu>2011-01-29 19:36:39 -0500
commitb42cab93f90760eaf3f8aac01c2ab41c1a5b1176 (patch)
tree68a07d9548872872ec7b546f416acee9f97eb274
parentab7a4c8a8eeb1b47099daa81de1be45a3bbd39db (diff)
Fixed a bug that was causing us to drop clicks.
-rw-r--r--inputs/PygameInput.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/inputs/PygameInput.py b/inputs/PygameInput.py
index 414adf3..480630c 100644
--- a/inputs/PygameInput.py
+++ b/inputs/PygameInput.py
@@ -33,3 +33,5 @@ class PygameInput(Input):
if event.type is MOUSEBUTTONDOWN:
if self['Clicks']:
self.respond({Strings.LOCATION: pygame.mouse.get_pos()})
+ else:
+ pygame.event.post(event)