diff pytouhou/vm/anmrunner.py @ 433:1222341ea22c

Always run the first frame of an ANMRunner.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 11 Aug 2013 14:23:50 +0200
parents d4874ebaa06e
children 98995d8ac744
line wrap: on
line diff
--- a/pytouhou/vm/anmrunner.py
+++ b/pytouhou/vm/anmrunner.py
@@ -56,6 +56,8 @@ class ANMRunner(object):
 
         self.sprite_index_offset = sprite_index_offset
 
+        self.run_frame()
+
 
     def interrupt(self, interrupt):
         new_ip = self.script.interrupts.get(interrupt, None)