click fixes (#18987)

right click fixes
This commit is contained in:
Cameron Lennox
2026-01-05 14:17:44 -05:00
committed by GitHub
parent c6c07dd5ef
commit 233b582c74
4 changed files with 31 additions and 18 deletions
+3
View File
@@ -149,6 +149,9 @@
if(.)
return TRUE
var/turf/T = get_turf(user)
if(!T)
to_chat(user, span_warning("You must be standing on solid ground to deploy an extraction beacon!"))
return
if(do_after(user, 1.5 SECONDS, target = user) && !QDELETED(src))
new /obj/structure/extraction_point(get_turf(user))
qdel(src)