oops thought that was one of the admin only opcodes

This commit is contained in:
modeco80
2024-08-21 21:45:13 -04:00
parent a82388f823
commit 6e1a075194

View File

@@ -582,12 +582,6 @@ export default class CollabVMServer implements IProtocolHandlers {
var target = this.clients.find((c) => c.username === username); var target = this.clients.find((c) => c.username === username);
if (!target) return; if (!target) return;
// don't let a mod end a infinite turn
if(user.rank == Rank.Moderator)
if(this.indefiniteTurn == target)
return;
this.endTurn(target); this.endTurn(target);
} }