for the purposes of testing, anyone can be a spectator

This commit is contained in:
Fate-JH 2024-05-07 20:01:44 -04:00
parent fedcb1caf9
commit 5c48ffd199

View file

@ -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, _, _) =>