Revert "Merge pull request #16240 from ShadowLarkens/revert"

This reverts commit 885171f985, reversing
changes made to 3e314f8064.
This commit is contained in:
ShadowLarkens
2024-09-01 13:12:20 -07:00
parent 49dda94177
commit f9052dbb60
186 changed files with 5029 additions and 2255 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.is_preference_enabled(/datum/client_preference/show_progress_bar))
if(!shown && user.client?.prefs?.read_preference(/datum/preference/toggle/show_progress_bar))
user.client.images += bar
shown = 1
@@ -66,4 +66,4 @@
qdel(bar)
. = ..()
#undef PROGRESSBAR_HEIGHT
#undef PROGRESSBAR_HEIGHT