From bd270db001d5e63eac51be5112600d4ef016111d Mon Sep 17 00:00:00 2001 From: hydrant Date: Wed, 5 May 2021 18:47:30 +0200 Subject: [PATCH] Fix spectate --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index 03313e49..3bdfa2b5 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -1791,7 +1791,7 @@ namespace ReallifeGamemode.Server.Commands public void CmdAdminSpectate(Player player, string targetname = null) { User user = player.GetUser(); - if (user.IsAdmin(AdminLevel.ADMIN)) + if (!user.IsAdmin(AdminLevel.ADMIN)) { ChatService.NotAuthorized(player); return;