Skip to content

Commit

Permalink
it just works (please work)
Browse files Browse the repository at this point in the history
  • Loading branch information
Superlagg committed Apr 22, 2024
1 parent 1eaede2 commit 8271a48
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions code/__DEFINES/preferences.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
5 changes: 5 additions & 0 deletions code/modules/client/preferences_savefile.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 8271a48

Please sign in to comment.