mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-24 05:38:15 +01:00
[MIRROR] Adds optional area-based definition for outdoors-ness
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
var/list/all_turfs = block(locate(1, 1, min), locate(world.maxx, world.maxy, max))
|
||||
var/list/turfs_to_use = list()
|
||||
for(var/turf/T as anything in all_turfs)
|
||||
if(T.outdoors)
|
||||
if(T.is_outdoors())
|
||||
turfs_to_use += T
|
||||
|
||||
if(!turfs_to_use.len)
|
||||
|
||||
Reference in New Issue
Block a user