diff --git a/code/modules/organs/internal/internal_wounds/_internal_wound.dm b/code/modules/organs/internal/internal_wounds/_internal_wound.dm index 4c0c0122f28..8c25c0be0f2 100644 --- a/code/modules/organs/internal/internal_wounds/_internal_wound.dm +++ b/code/modules/organs/internal/internal_wounds/_internal_wound.dm @@ -176,12 +176,12 @@ if(istype(I, /obj/item/stack)) var/obj/item/stack/S = I if(do_after(user, WORKTIME_NORMAL - user_stat_level, parent)) - if(prob(10 + user_stat_level)) + if(prob(10 + user_stat_level)&& S.amount > 0) free_use = TRUE is_treated = TRUE - else + else if(S.amount >= charges_needed) is_treated = S.use(charges_needed) - else if(istype(I)) // check for using items without stacks + else if(istype(I) && !istype(I, /obj/item/stack)) is_treated = TRUE qdel(I) if(is_treated)