Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SapphicOverload committed Dec 4, 2024
1 parent b22d530 commit 7ad64a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/datums/progressbar.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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]
Expand Down

0 comments on commit 7ad64a8

Please sign in to comment.