diff options
-rw-r--r-- | client/global.gd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/global.gd b/client/global.gd index 2a8d243f..0c8a101f 100644 --- a/client/global.gd +++ b/client/global.gd @@ -115,7 +115,7 @@ func update_language(): func update_fullscreen(): if get_setting("fullscreen"): DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_FULLSCREEN) - else: + elif DisplayServer.window_get_mode() == DisplayServer.WINDOW_MODE_FULLSCREEN: DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_WINDOWED) func save_profile(): |