File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,9 @@ init 900 python:
175
175
# Get last line if it exists
176
176
last_line = _history_list[- 1 ].what if _history_list else " "
177
177
178
+ # Local var for use later
179
+ window_hidden = False
180
+
178
181
# Handle the textbox show to keep the question up during the menu
179
182
if last_line.endswith(" {nw} " ):
180
183
renpy.say(m, last_line.replace(" {nw} " , " {fast} " ), interact = False )
@@ -185,6 +188,8 @@ init 900 python:
185
188
# Otherwise no text, and we should hide the textbox instead
186
189
else :
187
190
_window_hide()
191
+ # Since we set window to hide, we'll need to reset the window to auto after
192
+ window_hidden = True
188
193
189
194
# Parse menu items
190
195
formatted_items = gsm_utils.TYPE_PARSE_MAP[persistent._gsm_menu_style](items)
@@ -200,8 +205,9 @@ init 900 python:
200
205
if renpy.showing(" monika" ):
201
206
renpy.show(" monika" , at_list = [t11])
202
207
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
205
211
206
212
# And pop from hist
207
213
if last_line.endswith(" {fast} " ):
You can’t perform that action at this time.
0 commit comments