mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Allows roundstart observers to freely use antag HUD without losing respawnability (#23009)
* First pass * do away with old antag hud variable * rework cannotPossess * some verification + cleanups * Update code/modules/mob/dead/observer/observer_base.dm Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com> * splits up log call * Slightly refactor proc calls, continuing contra's review * Log admin --------- Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
@@ -178,8 +178,10 @@ SUBSYSTEM_DEF(ghost_spawns)
|
||||
if(GLOB.configuration.jobs.enable_exp_restrictions && min_hours)
|
||||
if(M.client.get_exp_type_num(EXP_TYPE_LIVING) < min_hours * 60)
|
||||
return
|
||||
if(check_antaghud && cannotPossess(M))
|
||||
return
|
||||
if(check_antaghud && isobserver(M))
|
||||
var/mob/dead/observer/O = M
|
||||
if(!O.check_ahud_rejoin_eligibility())
|
||||
return
|
||||
|
||||
return TRUE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user