mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-18 18:46:24 +01:00
Patch for fake attackers (#17816)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user