From 5c48ffd199c108a34a4da90f7ff2297e6b6963cb Mon Sep 17 00:00:00 2001 From: Fate-JH Date: Tue, 7 May 2024 20:01:44 -0400 Subject: [PATCH] for the purposes of testing, anyone can be a spectator --- .../scala/net/psforever/actors/session/normal/ChatLogic.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/net/psforever/actors/session/normal/ChatLogic.scala b/src/main/scala/net/psforever/actors/session/normal/ChatLogic.scala index dc599e017..419dadd8c 100644 --- a/src/main/scala/net/psforever/actors/session/normal/ChatLogic.scala +++ b/src/main/scala/net/psforever/actors/session/normal/ChatLogic.scala @@ -45,7 +45,7 @@ class ChatLogic(val ops: ChatOperations, implicit val context: ActorContext) ext case (CMT_SPEED, _, contents) if gmCommandAllowed => ops.commandSpeed(message, contents) - case (CMT_TOGGLESPECTATORMODE, _, contents) if isAlive && (gmCommandAllowed || perms.canSpectate) => + case (CMT_TOGGLESPECTATORMODE, _, contents) if isAlive /*&& (gmCommandAllowed || perms.canSpectate)*/ => ops.commandToggleSpectatorMode(session, contents) case (CMT_RECALL, _, _) =>