mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Fixes runtime in applying bit damage to unarmed steps in surgery (#29340)
This commit is contained in:
@@ -405,8 +405,9 @@
|
||||
surgery.complete(target)
|
||||
|
||||
surgery.step_in_progress = FALSE
|
||||
for(var/obj/item/smithed_item/tool_bit/bit in tool.attached_bits)
|
||||
bit.damage_bit()
|
||||
if(tool)
|
||||
for(var/obj/item/smithed_item/tool_bit/bit in tool.attached_bits)
|
||||
bit.damage_bit()
|
||||
if(advance)
|
||||
INVOKE_ASYNC(src, PROC_REF(play_success_sound), user, target, target_zone, tool, surgery)
|
||||
return SURGERY_INITIATE_SUCCESS
|
||||
|
||||
Reference in New Issue
Block a user