From 6fa15d3dccffe3568fcc09906afa23c7545b9bf2 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Tue, 25 Oct 2022 13:22:33 -0500 Subject: [PATCH] don't intercept commands for login plugin if they are from webfront --- Plugins/Login/Plugin.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Login/Plugin.cs b/Plugins/Login/Plugin.cs index 94713977b..213a3aa8e 100644 --- a/Plugins/Login/Plugin.cs +++ b/Plugins/Login/Plugin.cs @@ -51,7 +51,7 @@ namespace IW4MAdmin.Plugins.Login manager.CommandInterceptors.Add(gameEvent => { - if (gameEvent.Type != GameEvent.EventType.Command || gameEvent.Extra is null) + if (gameEvent.Type != GameEvent.EventType.Command || gameEvent.Extra is null || gameEvent.IsRemote) { return true; }