small fix for lissajous.py

This commit is contained in:
madmaurice 2016-11-09 02:08:03 +01:00
parent b8b6518057
commit 5d25d48945
No known key found for this signature in database
GPG key ID: 8552F38F400D2DBD

View file

@ -35,6 +35,8 @@ class Lissajous(Game):
def on_event(self, event): def on_event(self, event):
if event.type == MOUSEBUTTONDOWN and event.button == 1: if event.type == MOUSEBUTTONDOWN and event.button == 1:
self.reset = True self.reset = True
else:
super(Lissajous,self).on_event(event)
if __name__ == "__main__": if __name__ == "__main__":
Lissajous(0.5,0.325).on_execute() Lissajous(0.5,0.325).on_execute()