mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-26 14:47:50 +01:00
[MIRROR] code/global.dm => code/_global_vars/ (#10689)
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Selis
Kashargul
parent
a7718c6177
commit
f04f992cfe
@@ -182,7 +182,7 @@
|
||||
pulse2.icon_state = "empdisable"
|
||||
pulse2.name = "emp sparks"
|
||||
pulse2.anchored = TRUE
|
||||
pulse2.set_dir(pick(cardinal))
|
||||
pulse2.set_dir(pick(GLOB.cardinal))
|
||||
|
||||
spawn(10)
|
||||
qdel(pulse2)
|
||||
@@ -377,7 +377,7 @@
|
||||
//if these all result in the same turf as the vehicle or nullspace, pick a new turf with open space
|
||||
if(!dest || dest == get_turf(src))
|
||||
var/list/options = new()
|
||||
for(var/test_dir in alldirs)
|
||||
for(var/test_dir in GLOB.alldirs)
|
||||
var/new_dir = get_step_to(src, get_step(src, test_dir))
|
||||
if(new_dir && load.Adjacent(new_dir))
|
||||
options += new_dir
|
||||
|
||||
Reference in New Issue
Block a user