[MIRROR] Cleans up some unused procs and makes is_blocked_turf a turf proc. (#136)

* Cleans up some unused procs and makes is_blocked_turf a turf proc. (#52482)

* Cleans up some unused procs and makes is_blocked_turf a turf proc.

* Update code/game/turfs/turf.dm

Co-authored-by: Rohesie <rohesie@gmail.com>

Co-authored-by: Rohesie <rohesie@gmail.com>

* Cleans up some unused procs and makes is_blocked_turf a turf proc.

Co-authored-by: ShizCalev <ShizCalev@users.noreply.github.com>
Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
SkyratBot
2020-07-31 00:30:27 +02:00
committed by GitHub
co-authored by Rohesie ShizCalev
parent b7e1bd1973
commit 284f2de8a1
26 changed files with 50 additions and 95 deletions
+2 -2
View File
@@ -185,7 +185,7 @@
WARNING("[src] couldnt find a Quartermaster/Storage (aka cargobay) area on the station, and as such it has set the supplypod landingzone to the area it resides in.")
landingzone = get_area(src)
for(var/turf/open/floor/T in landingzone.contents)//uses default landing zone
if(is_blocked_turf(T))
if(T.is_blocked_turf())
continue
LAZYADD(empty_turfs, T)
CHECK_TICK
@@ -201,7 +201,7 @@
if(SO.pack.cost * (0.72*MAX_EMAG_ROCKETS) <= points_to_check) // bulk discount :^)
landingzone = GLOB.areas_by_type[pick(GLOB.the_station_areas)] //override default landing zone
for(var/turf/open/floor/T in landingzone.contents)
if(is_blocked_turf(T))
if(T.is_blocked_turf())
continue
LAZYADD(empty_turfs, T)
CHECK_TICK