diff pytouhou/vm/anmrunner.py @ 238:0e1762b1ab9f

Fix ANM interrupts
author Thibaut Girka <thib@sitedethib.com>
date Sun, 01 Jan 2012 20:23:00 +0100
parents 741860192b56
children 901489c21d19
line wrap: on
line diff
--- a/pytouhou/vm/anmrunner.py
+++ b/pytouhou/vm/anmrunner.py
@@ -51,6 +51,7 @@ class ANMRunner(object):
         else:
             self.instruction_pointer = new_ip
             self.frame, opcode, args = self.script[self.instruction_pointer]
+            self.waiting = False
             return True