forked from SilverStudioGames/WTS
Bugfix
* Fixed stuck animation for looping animations
This commit is contained in:
parent
a7206bbb40
commit
cb1d947534
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user