mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
[MIRROR] mass refactor of holder checks (#11155)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
54d0d16826
commit
7161a6c22e
@@ -31,7 +31,7 @@
|
||||
return ..()
|
||||
|
||||
/obj/effect/overmap/bluespace_rift/attack_ghost(var/mob/observer/dead/user)
|
||||
if(!partner && user?.client?.holder)
|
||||
if(!partner && check_rights_for(user?.client, R_HOLDER))
|
||||
var/response = tgui_alert(user, "You appear to be staff. This rift has no exit point. If you want to make one, move to where you want it to go, and click 'Make Here', otherwise click 'Cancel'", "Bluespace Rift", list("Cancel","Make Here"))
|
||||
if(response == "Make Here")
|
||||
new type(get_turf(user), src)
|
||||
|
||||
Reference in New Issue
Block a user