From 7cd16f77bd44181ba742dfc08badd509e9258178 Mon Sep 17 00:00:00 2001 From: Paul Date: Fri, 12 Nov 2021 19:47:57 +0100 Subject: [PATCH] forgot about removing --- Content.Server/Administration/AdminSystem.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Content.Server/Administration/AdminSystem.cs b/Content.Server/Administration/AdminSystem.cs index d04c7eb8c2..906b120b5a 100644 --- a/Content.Server/Administration/AdminSystem.cs +++ b/Content.Server/Administration/AdminSystem.cs @@ -27,10 +27,11 @@ namespace Content.Server.Administration _adminManager.OnPermsChanged += OnAdminPermsChanged; SubscribeLocalEvent(OnPlayerAttached); SubscribeLocalEvent(OnPlayerDetached); - SubscribeLocalEvent(OnRoleAddedEvent); + SubscribeLocalEvent(OnRoleEvent); + SubscribeLocalEvent(OnRoleEvent); } - private void OnRoleAddedEvent(RoleAddedEvent ev) + private void OnRoleEvent(RoleEvent ev) { if (ev.Role.Antagonist && ev.Role.Mind.Session != null) {