From 76ce46b93e371b3d0dfd91fa70331c6c5eba9ada Mon Sep 17 00:00:00 2001 From: veganzombeh Date: Tue, 5 May 2015 23:15:17 +0100 Subject: [PATCH] Prevents ghosts with AntagHUD joining an ERT --- code/game/response_team.dm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/game/response_team.dm b/code/game/response_team.dm index 6acdc12dea0..9be2b5815bc 100644 --- a/code/game/response_team.dm +++ b/code/game/response_team.dm @@ -82,6 +82,10 @@ var/can_call_ert usr << "This role is not yet available to you. You need to wait another [player_age_check] days." return + if(src.has_enabled_antagHUD == 1 && config.antag_hud_restricted) + usr << "\blue Upon using the antagHUD you forfeited the ability to join the round." + return + if(response_team_members.len > 6) usr << "The emergency response team is already full!" return