[MIRROR] Convert preferences to /tg/ preferences (#9797)

Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-01-08 18:08:43 -07:00
committed by GitHub
parent 689b354903
commit 039ee85382
82 changed files with 1753 additions and 1048 deletions

View File

@@ -123,7 +123,7 @@ Notes:
/proc/openToolTip(mob/user = null, atom/movable/tip_src = null, params = null, title = "", content = "", theme = "")
if(!istype(user) || !user.client?.tooltips)
return
var/ui_style = user.client?.prefs?.tooltipstyle
var/ui_style = user.read_preference(/datum/preference/choiced/tooltip_style)
if(!theme && ui_style)
theme = lowertext(ui_style)
if(!theme)