mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-23 03:26:50 +01:00
reworks game preferences (characters v2 staging) (#6310)
Co-authored-by: silicons <no@you.cat> Co-authored-by: LordME <58342752+TheLordME@users.noreply.github.com>
This commit is contained in:
co-authored by
silicons
LordME
parent
9f1b911556
commit
39bc14bb4a
@@ -107,8 +107,8 @@ Notes:
|
||||
/proc/openToolTip(mob/user = null, atom/movable/tip_src = null, params = null, title = "", content = "", theme = "")
|
||||
if(istype(user))
|
||||
if(user.client && user.client.tooltips)
|
||||
if(!theme && user.client.prefs && user.client.prefs.tooltipstyle)
|
||||
theme = lowertext(user.client.prefs.tooltipstyle)
|
||||
if(!theme)
|
||||
theme = lowertext(user.get_preference_entry(/datum/game_preference_entry/dropdown/tooltip_style))
|
||||
if(!theme)
|
||||
theme = "midnight"
|
||||
user.client.tooltips.show(tip_src, params, title, content, theme)
|
||||
|
||||
Reference in New Issue
Block a user