Skip to content

Commit

Permalink
Merge branch 'master' into BSH-Improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
PollardTheDragon authored Nov 24, 2024
2 parents 1eafb95 + f978108 commit a49277e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/modules/surgery/surgery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@
surgery.step_in_progress = FALSE
return SURGERY_INITIATE_SUCCESS

play_preop_sound(user, target, target_zone, tool, surgery)
INVOKE_ASYNC(src, PROC_REF(play_preop_sound), user, target, target_zone, tool, surgery)

if(tool)
speed_mod = tool.toolspeed
Expand Down Expand Up @@ -394,10 +394,10 @@

surgery.step_in_progress = FALSE
if(advance)
play_success_sound(user, target, target_zone, tool, surgery)
INVOKE_ASYNC(src, PROC_REF(play_success_sound), user, target, target_zone, tool, surgery)
return SURGERY_INITIATE_SUCCESS
else
play_failure_sound(user, target, target_zone, tool, surgery)
INVOKE_ASYNC(src, PROC_REF(play_failure_sound), user, target, target_zone, tool, surgery)
return SURGERY_INITIATE_FAILURE

/**
Expand Down Expand Up @@ -510,7 +510,7 @@
if(user.gloves)
germ_level = user.gloves.germ_level
target_organ.germ_level = max(germ_level, target_organ.germ_level)
spread_germs_by_incision(target_organ, tool) //germ spread from environement to patient
INVOKE_ASYNC(src, PROC_REF(spread_germs_by_incision), target_organ, tool) //germ spread from environement to patient

/**
* Spread germs directly from a tool.
Expand Down

0 comments on commit a49277e

Please sign in to comment.