From a522c199c75995937e5e9302526a746bfa99873d Mon Sep 17 00:00:00 2001 From: Rob Bailey Date: Wed, 29 Apr 2020 15:31:11 -0700 Subject: [PATCH] change default pref for viewport fitting (#50749) About The Pull Request Changes the pref for fitting viewport to automatic. This not being the default has always confused me, and should resolve some teething issues widescreen is having. Changelog cl tweak: Auto fit viewport is now the default, and everyone's setting for this has been reset to the default. If you don't know what this means, it's safe to ignore. /cl --- code/modules/client/preferences_savefile.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/client/preferences_savefile.dm b/code/modules/client/preferences_savefile.dm index 019f0fd8bae..0a297d39805 100644 --- a/code/modules/client/preferences_savefile.dm +++ b/code/modules/client/preferences_savefile.dm @@ -5,7 +5,7 @@ // You do not need to raise this if you are adding new values that have sane defaults. // Only raise this value when changing the meaning/format/name/layout of an existing value // where you would want the updater procs below to run -#define SAVEFILE_VERSION_MAX 33 +#define SAVEFILE_VERSION_MAX 34 /* SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Carn @@ -56,6 +56,9 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car if(current_version < 33) toggles |= SOUND_ENDOFROUND + if(current_version < 34) + auto_fit_viewport = TRUE + /datum/preferences/proc/update_character(current_version, savefile/S) if(current_version < 19) pda_style = "mono"