mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-20 08:40:32 +00:00
send game hash to server each second
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user