Skip to content

Commit 8d81349

Browse files
committed
Updated main_render_game
1 parent 1c8f5c6 commit 8d81349

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

game/source/main/main_render.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,8 @@ void __cdecl main_render_game()
421421

422422
c_ui_view::begin(&ui_view);
423423

424-
if (window_count > 1)
424+
static bool restore = true;
425+
if (restore && window_count > 1)
425426
{
426427
for (long view_index = window_count - 1; view_index >= 0; view_index--)
427428
{

0 commit comments

Comments
 (0)