added animated move timer

This commit is contained in:
Wenszel
2023-11-21 21:16:07 +01:00
parent e702b912f7
commit 6fef82f36a
14 changed files with 205 additions and 94 deletions
+1
View File
@@ -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) {