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:
silicons
2024-04-08 12:44:30 +02:00
committed by GitHub
co-authored by silicons LordME
parent 9f1b911556
commit 39bc14bb4a
427 changed files with 3981 additions and 2842 deletions
+2 -2
View File
@@ -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)