Files
Bubberstation/code/modules/client/preferences/screen.dm
John Willard 4c82b029c7 Removes widescreen config (#91419)
## About The Pull Request

19x15 forever, or 15x15 if you're non widescreen user.

## Why It's Good For The Game

Idek why this is a config
2025-06-22 01:14:55 +00:00

20 lines
704 B
Plaintext

/datum/preference/toggle/widescreen
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
savefile_key = "widescreenpref"
savefile_identifier = PREFERENCE_PLAYER
/datum/preference/toggle/widescreen/apply_to_client(client/client, value)
client.view_size?.setDefault(VIEWPORT_USE_PREF)
/datum/preference/toggle/fullscreen_mode
default_value = FALSE
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
savefile_key = "fullscreen_mode"
savefile_identifier = PREFERENCE_PLAYER
/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()