Defining Part 4 - Code cleanup toward defines (... and the rest) (#19388)

* I wasn't done

* nits
This commit is contained in:
Vi3trice
2022-10-28 19:28:23 +02:00
committed by GitHub
parent 9400729a28
commit 03ce2920e1
127 changed files with 268 additions and 257 deletions
@@ -547,7 +547,7 @@ Note that amputating the affected organ does in fact remove the infection from t
src.transform = M
if(!clean)
// Throw limb around.
if(src && istype(loc,/turf))
if(src && isturf(loc))
dropped_part.throw_at(get_edge_target_turf(src,pick(GLOB.alldirs)),rand(1,3),30)
dir = 2
brute_dam = 0
+1 -1
View File
@@ -468,7 +468,7 @@
* * tool - The tool performing the operation.
*/
/proc/spread_germs_by_incision(obj/item/organ/external/E, obj/item/tool)
if(!istype(E, /obj/item/organ/external))
if(!isorgan(E))
return
var/germs = 0