Returns the title bar (#91402)

## About The Pull Request

It breaks by setting ``is-fullscreen`` to false so we need to basically
not call set_fullscreen ever as it will permanently remove it from the
client. I can't figure out why this happens, but setting
``is-fullscreen`` to any value permanently removes ``menu`` from
mainwindow, which is what this subtitle bar thing uses.

## Why It's Good For The Game

I don't like the title bar and i want it gone but this is a bug fix.

## Changelog

🆑
fix: The title bar is back for non-fullscreen users.
/🆑
This commit is contained in:
John Willard
2025-06-01 14:52:09 -04:00
committed by Roxy
parent 14965c1038
commit c90cc22bc5

View File

@@ -13,4 +13,7 @@
savefile_identifier = PREFERENCE_PLAYER savefile_identifier = PREFERENCE_PLAYER
/datum/preference/toggle/fullscreen_mode/apply_to_client(client/client, value) /datum/preference/toggle/fullscreen_mode/apply_to_client(client/client, value)
//let's not apply unless the client is fully logged in, therefore manually triggering it.
if(!client.fully_created)
return
client.set_fullscreen() client.set_fullscreen()