Renames GLOB.cardinal to GLOB.cardinals to match GLOB.diagonals and GLOB.alldirs (#1970)
This commit is contained in:
committed by
kevinz000
parent
5cdd069136
commit
1b70c06474
@@ -30,7 +30,7 @@
|
||||
var/turf/location = C.loc
|
||||
if(istype(location))
|
||||
C.add_splatter_floor(location)
|
||||
var/direction = pick(GLOB.cardinal)
|
||||
var/direction = pick(GLOB.cardinals)
|
||||
var/t_range = rand(2,max(throw_range/2, 2))
|
||||
var/turf/target_turf = get_turf(src)
|
||||
for(var/i in 1 to t_range-1)
|
||||
|
||||
@@ -407,7 +407,7 @@
|
||||
for(var/i=1, i<=(5*power_multiplier), i++)
|
||||
for(var/V in listeners)
|
||||
var/mob/living/L = V
|
||||
step(L, direction ? direction : pick(GLOB.cardinal))
|
||||
step(L, direction ? direction : pick(GLOB.cardinals))
|
||||
sleep(10)
|
||||
|
||||
//WALK
|
||||
|
||||
Reference in New Issue
Block a user