This commit is contained in:
cidoku 2026-01-26 16:29:16 -03:00
parent 0345a91fd5
commit a88888824f

View File

@ -25,7 +25,7 @@ class DemoPlayer(QtCore.QObject):
self.demoLengthMs = 0 self.demoLengthMs = 0
self.waitTimer = QtCore.QTimer(self) self.waitTimer = QtCore.QTimer(self)
self.waitTimer.setSingleShot(True) self.waitTimer.setSingleShot(True)
self.waitTimer.timeout.connect(self.timer_done) self.waitTimer.timeout.connect(self.timerDone)
self.mc = [] # Music changes self.mc = [] # Music changes
self.bn = [] # Background changes self.bn = [] # Background changes
@ -130,7 +130,7 @@ class DemoPlayer(QtCore.QObject):
time += 1 time += 1
self.demoLength = len(self.demo) self.demoLength = len(self.demo)
def timer_done(self): def timerDone(self):
if self.paused: if self.paused:
return return
self.step() self.step()