From 7ad64a82358dcf5ff50e7810d483b2b3cef4e4b8 Mon Sep 17 00:00:00 2001 From: SapphicOverload Date: Tue, 3 Dec 2024 22:54:39 -0500 Subject: [PATCH] fix --- code/datums/progressbar.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/datums/progressbar.dm b/code/datums/progressbar.dm index 8504b1619988..cf79c5518759 100644 --- a/code/datums/progressbar.dm +++ b/code/datums/progressbar.dm @@ -26,7 +26,7 @@ var/progress_ended = FALSE -/datum/progressbar/New(mob/User, goal_number, atom/target, timed_action_flags = NONE, skill_check) +/datum/progressbar/New(mob/User, goal_number, atom/target, timed_action_flags = NONE, datum/callback/extra_checks, skill_check) . = ..() if (!istype(target)) stack_trace("Invalid target [target] passed in") @@ -50,6 +50,7 @@ SET_PLANE_EXPLICIT(skill_icon, ABOVE_HUD_PLANE, User) skill_icon.appearance_flags = APPEARANCE_UI_IGNORE_ALPHA user = User + src.extra_checks = extra_checks LAZYADDASSOCLIST(user.progressbars, bar_loc, src) var/list/bars = user.progressbars[bar_loc]