send game hash to server each second

This commit is contained in:
Evan
2025-03-02 09:29:10 -08:00
parent 808107c9c3
commit e0938253df
11 changed files with 93 additions and 25 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ export class UnitImpl implements Unit {
}
hash(): number {
return this.tile() + simpleHash(this.type());
return this.tile() + simpleHash(this.type()) * this._id;
}
toString(): string {