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:
Putnam3145
2021-11-18 20:18:11 -08:00
committed by GitHub

View File

@@ -95,7 +95,7 @@
/obj/item/wallframe/apc/try_build(turf/on_wall, user)
if(!..())
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)
if(A.get_apc())
to_chat(user, "<span class='warning'>This area already has an APC!</span>")