mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
Fix runtime when 'item' is null during surgery germs spreading (#13975)
* Fix runtime when 'item' is null during germs spreading * Change explicit null check to implicit * Oops
This commit is contained in:
@@ -196,7 +196,7 @@
|
||||
if(AStar(E.loc, M.loc, /turf/proc/Distance, 2, simulated_only = 0))
|
||||
germs++
|
||||
|
||||
if(tool.blood_DNA && tool.blood_DNA.len) //germs from blood-stained tools
|
||||
if(tool && tool.blood_DNA && tool.blood_DNA.len) //germs from blood-stained tools
|
||||
germs += 30
|
||||
|
||||
if(E.internal_organs.len)
|
||||
|
||||
Reference in New Issue
Block a user