mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
/tg/ pref datums (part 1) (#16219)
* TG Prefs (Step 1: JSON savefiles) * TG Prefs (Step 2: Preference Datum Code) * TG Prefs (Step 3: Convert /datum/client_preferences) * TG Prefs (Step 4: Clean up and finishing touches) * Fix some weird compile errors from the rebase
This commit is contained in:
@@ -27,7 +27,7 @@ Controlled by the player_tips subsystem under code/controllers/subsystems/player
|
||||
break
|
||||
last_tip = tip
|
||||
for(var/mob/M in player_list)
|
||||
if(M.is_preference_enabled(/datum/client_preference/player_tips))
|
||||
if(M.client?.prefs?.read_preference(/datum/preference/toggle/player_tips))
|
||||
if(!M.key && !(M.key in HasReceived))
|
||||
to_chat(M, SPAN_WARNING("You have periodic player tips enabled. You may turn them off at any time with the Toggle Receiving Player Tips verb in Preferences, or in character set up under the OOC tab!\n Player tips appear every 45-75 minutes."))
|
||||
HasReceived.Add(M.key)
|
||||
|
||||
Reference in New Issue
Block a user