File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -175,6 +175,9 @@ init 900 python:
175175 # Get last line if it exists
176176 last_line = _history_list[- 1 ].what if _history_list else " "
177177
178+ # Local var for use later
179+ window_hidden = False
180+
178181 # Handle the textbox show to keep the question up during the menu
179182 if last_line.endswith(" {nw} " ):
180183 renpy.say(m, last_line.replace(" {nw} " , " {fast} " ), interact = False )
@@ -185,6 +188,8 @@ init 900 python:
185188 # Otherwise no text, and we should hide the textbox instead
186189 else :
187190 _window_hide()
191+ # Since we set window to hide, we'll need to reset the window to auto after
192+ window_hidden = True
188193
189194 # Parse menu items
190195 formatted_items = gsm_utils.TYPE_PARSE_MAP[persistent._gsm_menu_style](items)
@@ -200,8 +205,9 @@ init 900 python:
200205 if renpy.showing(" monika" ):
201206 renpy.show(" monika" , at_list = [t11])
202207
203- # Reset the window
204- _window_auto = True
208+ # Set window to auto again if we hid it
209+ if window_hidden:
210+ _window_auto = True
205211
206212 # And pop from hist
207213 if last_line.endswith(" {fast} " ):
You can’t perform that action at this time.
0 commit comments