* Fixed stuck animation for looping animations
This commit is contained in:
LoafyLemon 2023-02-21 20:42:36 +00:00
parent a7206bbb40
commit cb1d947534

View File

@ -114,7 +114,7 @@ init 5 python:
rv = renpy.Render(frame_width, frame_height) rv = renpy.Render(frame_width, frame_height)
rv.blit(cr.subsurface((frame_x, frame_y, frame_width, frame_height)), (0, 0)) rv.blit(cr.subsurface((frame_x, frame_y, frame_width, frame_height)), (0, 0))
if st > self.atl_time_total: if not self.atl_looping and st > self.atl_time_total:
renpy.timeout(0) renpy.timeout(0)
elif not renpy.game.less_updates: elif not renpy.game.less_updates:
renpy.redraw(self, interval - time) renpy.redraw(self, interval - time)