mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-16 01:23:41 +01:00
defines isspacearea (#25064)
* isspace define * istype to isspacearea * paranthesis * fixes * I HATE VSCDEV ON MMOBILE
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
return
|
||||
if(mount_requirements & MOUNTED_FRAME_NOSPACE)
|
||||
var/area/my_area = get_area(build_turf)
|
||||
if(!istype(my_area) || !my_area.requires_power || istype(my_area, /area/space))
|
||||
if(!istype(my_area) || !my_area.requires_power || isspacearea(my_area))
|
||||
to_chat(user, "<span class='warning'>[src] cannot be placed in this area.</span>")
|
||||
return
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user