Changes a & to an && from last commit

Raises the loopsanity variable in /turf/entered from 10 to 100.  Having the value so low means it generally evaluates the nine surrounding turfs and then the area, and no objects.  Raising the value makes proximity-based items work again.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3212 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
VivianFoxfoot@gmail.com
2012-02-28 23:14:25 +00:00
parent 7f579b3956
commit 0efad22795
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
if(stat & (NOPOWER|BROKEN))
return
if(!allowed(user) & (wires & 1))
if(!allowed(user) && (wires & 1))
flick("doorctrl-denied",src)
return
+1 -1
View File
@@ -80,7 +80,7 @@
/turf/Entered(atom/movable/M as mob|obj)
var/loopsanity = 10
var/loopsanity = 100
if(ismob(M))
if(!M:lastarea)
M:lastarea = get_area(M.loc)