feat: renpy.call_in_new_context("_hide_windows") becomes a click wait
CI / frontend (push) Failing after 20s
CI / backend (push) Failing after 38s

Ren'Py's own _hide_windows label hides the dialogue window until the player clicks. Games call it
directly between scenes, and one of them 531 times. Other labels stay unsupported.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mrleo1nidandClaude Sonnet 5.5 committed 2026-10-26 02:58:24 +03:00
1 parent e1c596288e
commit 6c10d06d90
2 files changed
+12

No files matched your search

+3
View File
@@ -370,6 +370,9 @@ class RpyParser:
args, kw = e["a"], e["kw"]
if fname == "renpy.pause":
return [{"op": "pause", "d": args[0] if args else kw.get("delay")}]
if fname == "renpy.call_in_new_context" and len(args) == 1 and not kw and args[0].get("k") == "const" and args[0]["v"] == "_hide_windows":
# Ren'Py's own label: hides the dialogue window until the player clicks
return [{"op": "pause", "d": None}]
if fname == "renpy.jump" and args:
return [_jump_or_call("jump", args[0])]
if fname == "renpy.call" and args: