mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Show poll alert for admins anyway (#24817)
* Show poll alert for admins anyway * Update comment
This commit is contained in:
@@ -365,6 +365,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
if(!check_rights((R_ADMIN | R_MOD), FALSE, user))
|
||||
return
|
||||
antagHUD = TRUE
|
||||
GLOB.antag_hud_users |= user.ckey
|
||||
for(var/datum/atom_hud/antag/H in GLOB.huds)
|
||||
H.add_hud_to(src)
|
||||
|
||||
@@ -852,6 +853,9 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
|
||||
* If allow_roundstart_observers is FALSE (TRUE by default), then any observers who were able to ahud due to joining roundstart will be excluded as well.
|
||||
*/
|
||||
/mob/dead/observer/proc/check_ahud_rejoin_eligibility(allow_roundstart_observers = TRUE)
|
||||
if(check_rights(R_ADMIN | R_MOD, FALSE, src))
|
||||
return TRUE
|
||||
|
||||
if(!GLOB.configuration.general.restrict_antag_hud_rejoin || !has_ahudded())
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user