Revert "/tg/ pref datums (part 1) (#16219)"

This reverts commit faac97e352.
This commit is contained in:
ShadowLarkens
2024-08-31 12:04:15 -07:00
parent 53c34d8df3
commit 3c09f52c6a
184 changed files with 2197 additions and 4967 deletions
+2 -2
View File
@@ -41,7 +41,7 @@
progress = CLAMP(progress, 0, goal)
bar.icon_state = "prog_bar_[round(((progress / goal) * 100), 5)]"
if(!shown && user.client?.prefs?.read_preference(/datum/preference/toggle/show_progress_bar))
if(!shown && user.is_preference_enabled(/datum/client_preference/show_progress_bar))
user.client.images += bar
shown = 1
@@ -66,4 +66,4 @@
qdel(bar)
. = ..()
#undef PROGRESSBAR_HEIGHT
#undef PROGRESSBAR_HEIGHT