mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
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:
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user