Patch for fake attackers (#17816)

This commit is contained in:
Will
2025-06-07 18:33:41 -04:00
committed by GitHub
parent 6c38e739e5
commit c2e8259216
+3 -1
View File
@@ -127,11 +127,13 @@
T = get_turf(clone)
var/turf/CT = T
for(var/i = 0 to 8)
if(!CT) // Emergency exit
return null
var/Cdir = pick(GLOB.cardinal)
if(prob(30))
Cdir = clone.dir // Results in hallucinations somewhat being in front of you
var/turf/NT = get_step(CT,Cdir)
if(!NT.density)
if(NT && !NT.density)
CT = NT
T = CT