Skip to content

Commit

Permalink
Prevent infinite loop of pauses.
Browse files Browse the repository at this point in the history
  • Loading branch information
renpytom committed Jun 6, 2021
1 parent a56ffb7 commit 7528e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion renpy/exports.py
Expand Up @@ -1526,7 +1526,7 @@ def pause(delay=None, music=None, with_none=None, hard=False, checkpoint=None):
if roll_forward not in [ True, False ]:
roll_forward = None

if renpy.game.after_rollback and not renpy.config.pause_after_rollback:
if (delay is not None) and renpy.game.after_rollback and not renpy.config.pause_after_rollback:

rv = roll_forward
if rv is None:
Expand Down

0 comments on commit 7528e10

Please sign in to comment.