mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 09:42:29 +00:00
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:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user