# HG changeset patch # User Thibaut Girka # Date 1313169893 -7200 # Node ID 93aa1b55d97c923960a50692650ac22229befd07 # Parent 444ac7bca7bcfd9af826993cf071c4f963b0c3db Fix a deadlock :( diff --git a/pytouhou/game/eclrunner.py b/pytouhou/game/eclrunner.py --- a/pytouhou/game/eclrunner.py +++ b/pytouhou/game/eclrunner.py @@ -51,6 +51,7 @@ class ECLRunner(object): print('Warning: unhandled opcode %d!' % instr_type) #TODO else: callback(*unpack('<' + format, args)) + if frame <= self.frame: self.instruction_pointer += 1 self.frame += 1