Merge pull request #15222 from raspy-on-osu/apcfix
save hours of pain for new engineers with this one simple trick!! click here to find out
This commit is contained in:
@@ -95,7 +95,7 @@
|
|||||||
/obj/item/wallframe/apc/try_build(turf/on_wall, user)
|
/obj/item/wallframe/apc/try_build(turf/on_wall, user)
|
||||||
if(!..())
|
if(!..())
|
||||||
return
|
return
|
||||||
var/turf/T = get_turf(on_wall) //the user is not where it needs to be.
|
var/turf/T = get_turf(user)
|
||||||
var/area/A = get_area(T)
|
var/area/A = get_area(T)
|
||||||
if(A.get_apc())
|
if(A.get_apc())
|
||||||
to_chat(user, "<span class='warning'>This area already has an APC!</span>")
|
to_chat(user, "<span class='warning'>This area already has an APC!</span>")
|
||||||
|
|||||||
Reference in New Issue
Block a user