mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 00:22:12 +00:00
Fixes non-surgery tool use interaction with do_surgery (#9536)
This commit is contained in:
@@ -110,7 +110,7 @@ proc/spread_germs_to_organ(var/obj/item/organ/external/E, var/mob/living/carbon/
|
||||
// We didn't find a surgery, or decided not to perform one.
|
||||
if(!istype(S))
|
||||
to_chat(user, SPAN_WARNING("You aren't sure what you could do to \the [M] with \the [tool]."))
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
// Otherwise we can make a start on surgery!
|
||||
else if(istype(M) && !QDELETED(M) && user.a_intent == I_HELP && user.get_active_hand() == tool)
|
||||
|
||||
6
html/changelogs/health_analyzer_use.yml
Normal file
6
html/changelogs/health_analyzer_use.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
author: mikomyazaki
|
||||
|
||||
delete-after: True
|
||||
|
||||
changes:
|
||||
- bugfix: "Using non-surgery tool items on targets that are buckled to chairs, beds etc. e.g. health analyzers will now work properly again."
|
||||
Reference in New Issue
Block a user