oops thought that was one of the admin only opcodes
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user