Skip to content

Commit

Permalink
Update medical.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyThorne committed Dec 18, 2023
1 parent de43269 commit 147d0c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions code/game/objects/items/stacks/medical.dm
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@
W.heal_damage(heal_brute)
used++
affecting.update_damages()
if(affecting.update_damstate())
H.UpdateDamageIcon()
if(used == get_amount())
if(affecting.is_bandaged())
to_chat(user, SPAN("warning", "\The [src] is used up."))
Expand Down Expand Up @@ -271,6 +273,8 @@
W.heal_damage(heal_brute)
used++
affecting.update_damages()
if(affecting.update_damstate())
H.UpdateDamageIcon()
if(used == get_amount())
if(affecting.is_bandaged())
to_chat(user, SPAN("warning", "\The [src] is used up."))
Expand Down Expand Up @@ -431,6 +435,8 @@
W.bandage()
used++
affecting.update_damages()
if(affecting.update_damstate())
H.UpdateDamageIcon()
if(used == get_amount())
if(affecting.is_bandaged())
to_chat(user, SPAN("warning", "\The [src] is used up."))
Expand Down

0 comments on commit 147d0c4

Please sign in to comment.