added animated move timer
This commit is contained in:
@@ -36,6 +36,7 @@ RoomSchema.methods.changeMovingPlayer = function () {
|
||||
this.nextMoveTime = Date.now() + 15000;
|
||||
this.rolledNumber = null;
|
||||
if (this.timeoutID) clearTimeout(this.timeoutID);
|
||||
this.timeoutID = null;
|
||||
};
|
||||
|
||||
RoomSchema.methods.movePawn = function (pawn) {
|
||||
|
||||
Reference in New Issue
Block a user