Browse Source

fixed premature animation restart

master
Fr3deric 7 years ago
parent
commit
99ed7b48a1
  1. 2
      generators/thimblerig.py

2
generators/thimblerig.py

@ -177,7 +177,7 @@ class Game(): @@ -177,7 +177,7 @@ class Game():
for b in self.boxes:
b.update(t, dt)
if state == len(self.statetimes) - 1:
if state == len(self.statetimes) - 1 and state_t > self.statetimes[-1]:
self.done = True
def draw(self, frame):

Loading…
Cancel
Save