Update mob_movement.dm

This commit is contained in:
kevinz000
2020-04-23 11:33:10 -07:00
committed by GitHub
parent b398e65416
commit 1e515b89f9
+1 -1
View File
@@ -81,7 +81,7 @@
if(L.confused)
var/newdir = NONE
if((L.confused > 50) && prob(min(L.confused * 0.5), 50))
if((L.confused > 50) && prob(min(L.confused * 0.5, 50)))
newdir = pick(GLOB.alldirs)
else if(prob(L.confused))
newdir = angle2dir(dir2angle(direction) + pick(90, -90))