Fixes ghosts being able to launch drop pods (#17266)

* a

* staff check

* Whitespace Fix

---------

Co-authored-by: DreamySkrell <>
Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
This commit is contained in:
DreamySkrell
2023-09-14 11:47:27 +00:00
committed by GitHub
co-authored by DreamySkrell <> SleepyGemmy
parent e332829f84
commit 6510260b13
2 changed files with 47 additions and 0 deletions
+6
View File
@@ -157,6 +157,12 @@
load(user)
launchinterface()
/obj/attack_ghost(mob/user)
if(isobserver(user) && check_rights(R_ADMIN, FALSE, user))
..()
else // normal ghosts cannot use this
return
/obj/vehicle/droppod/ui_interact(mob/user, var/datum/tgui/ui)
ui = SStgui.try_update_ui(user, src, ui)
if(!ui)