Skip to content

Commit

Permalink
Fix double-spending of ointment when treating wounds
Browse files Browse the repository at this point in the history
  • Loading branch information
out-of-phaze authored and comma committed Sep 9, 2024
1 parent d871fa4 commit 7b5deb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions code/game/objects/items/stacks/medical/medical_ointment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,9 @@
to_chat(user, SPAN_WARNING("You must stand still to salve wounds."))
return 0
show_limb_salve_message(user, target, affecting)
use(1)
affecting.salve()
affecting.disinfect()
return 1
return 1 // consume 1 stack

/obj/item/stack/medical/ointment/proc/show_limb_salve_message(mob/living/user, mob/living/target, obj/item/organ/external/affecting)
user.visible_message(
Expand Down

0 comments on commit 7b5deb5

Please sign in to comment.