mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
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:
co-authored by
DreamySkrell <>
SleepyGemmy
parent
e332829f84
commit
6510260b13
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user