mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 09:34:21 +01:00
defines isspacearea (#25064)
* isspace define * istype to isspacearea * paranthesis * fixes * I HATE VSCDEV ON MMOBILE
This commit is contained in:
@@ -266,7 +266,7 @@
|
||||
nagged = TRUE
|
||||
|
||||
/mob/living/simple_animal/bot/floorbot/proc/is_hull_breach(turf/t) // Ignore space tiles not considered part of a structure, also ignores shuttle docking areas.
|
||||
return !istype(get_area(t), /area/space)
|
||||
return !isspacearea(get_area(t))
|
||||
|
||||
// Floorbots, having several functions, need sort out special conditions here.
|
||||
/mob/living/simple_animal/bot/floorbot/process_scan(atom/scan_target)
|
||||
|
||||
@@ -267,7 +267,7 @@
|
||||
return ..()
|
||||
|
||||
/mob/camera/aiEye/remote/shuttle_docker/setLoc(T)
|
||||
if(isspaceturf(get_turf(T)) || istype(get_area(T), /area/space) || istype(get_area(T), /area/shuttle))
|
||||
if(isspaceturf(get_turf(T)) || isspacearea(get_area(T)) || istype(get_area(T), /area/shuttle))
|
||||
..()
|
||||
var/obj/machinery/computer/camera_advanced/shuttle_docker/console = origin
|
||||
console.checkLandingSpot()
|
||||
|
||||
Reference in New Issue
Block a user