nukes some unmanaged global variables (probably merge this fast as it touches a hundred+ files) (#2829)

* replacements

* indents
This commit is contained in:
silicons
2021-03-07 19:01:45 -08:00
committed by GitHub
parent 39c009e736
commit 472ef33488
129 changed files with 233 additions and 244 deletions
@@ -210,7 +210,7 @@
if(get_dist(on_wall,user) > 1)
return
var/ndir = get_dir(on_wall, user)
if(!(ndir in cardinal))
if(!(ndir in GLOB.cardinal))
return
var/turf/T = get_turf(user)
if(!istype(T, /turf/simulated/floor))
@@ -265,4 +265,4 @@
to allow it to stick to walls."
w_class = ITEMSIZE_TINY
max_components = IC_COMPONENTS_BASE / 2
max_complexity = IC_COMPLEXITY_BASE / 2
max_complexity = IC_COMPLEXITY_BASE / 2