mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 21:49:11 +01:00
Convert preferences to /tg/ preferences (#16449)
* Convert all preferences to /tg/ preferences * Move obfuscate key/job to game options * Add abstract_type to each of the new subtypes * Convert ignored players to tg prefs * Yet another global category list removed * Fix error, convert client FPS * Convert UI_style, UI_alpha, and UI_color to tg prefs * Clean up a little, convert tooltipstyle * Convert ambience to tg prefs * Remove chat_timestamp, tgchat can do this internally and gives localized results * Convert admin ooc color to pref, merk 01_ui.dm * Convert uplinklocation to a tg pref * Fixup byond:// links * Convert name_is_always_random * Convert spawnpoint * v16 savefile migration in prep for converting 03_body.dm * Convert all colors to tg prefs * Finish converting ooc notes
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user