From 8271a48608bfc51546f3fa314d66816400c71260 Mon Sep 17 00:00:00 2001 From: Superlagg Date: Sun, 21 Apr 2024 23:12:38 -0700 Subject: [PATCH] it just works (please work) --- code/__DEFINES/preferences.dm | 1 + code/modules/client/preferences_savefile.dm | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/code/__DEFINES/preferences.dm b/code/__DEFINES/preferences.dm index a66acdc32c9..d35cdc7a865 100644 --- a/code/__DEFINES/preferences.dm +++ b/code/__DEFINES/preferences.dm @@ -147,6 +147,7 @@ GLOBAL_LIST_INIT(undie_position_strings, list("Under Clothes", "Over Clothes", " #define PMC_UNBREAK_FAVORITE_PLAPS "/datum/interaction/bang/datum/interaction/funch" // Player Master Changelog #define PMC_ADDED_RADIO_BLURBLES "CHAT_HEAR_RADIOBLURBLES" // Player Master Changelog #define PMC_ADDED_RADIO_STATIC "PMC_ADDED_RADIO_STATIC" // Player Master Changelog +#define PMC_WHY_DOES_EVERYTHING_DEFAULT_TO_OFF "lookingatyouwiretap" // Player Master Changelog /// The master Preferences Changelog to check the player's prefs against. /// includes a list of actions that need to be taken to update the player's prefs. diff --git a/code/modules/client/preferences_savefile.dm b/code/modules/client/preferences_savefile.dm index 8a923e96524..7bdc26fe91b 100644 --- a/code/modules/client/preferences_savefile.dm +++ b/code/modules/client/preferences_savefile.dm @@ -218,6 +218,11 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car chat_toggles |= CHAT_HEAR_RADIOSTATIC WRITE_FILE(S["chat_toggles"], chat_toggles) current_version |= PMC_ADDED_RADIO_STATIC + if(PMC_WHY_DOES_EVERYTHING_DEFAULT_TO_OFF) // i broke it =3 + S["admin_wire_tap"] >> admin_wire_tap + admin_wire_tap = TRUE + WRITE_FILE(S["admin_wire_tap"], admin_wire_tap) + current_version |= PMC_WHY_DOES_EVERYTHING_DEFAULT_TO_OFF WRITE_FILE(S["current_version"], safe_json_encode(current_version))