mirror of
https://github.com/bra1n/townsquare.git
synced 2026-04-19 13:37:31 +00:00
Fix seat claim registering wrong key in ping tracker
_updateSeat passed [true, value, 0] to _handlePing but the signature is ([playerIdOrCount, latency]), so `true` was stored instead of the playerId. The stale-connection sweep then cleared the seat immediately.
This commit is contained in:
parent
d9c2b17dc9
commit
3cfd38f80b
1 changed files with 1 additions and 1 deletions
|
|
@ -645,7 +645,7 @@ class LiveSession {
|
|||
this._store.commit("players/update", { player, property, value });
|
||||
}
|
||||
// update player session list as if this was a ping
|
||||
this._handlePing([true, value, 0]);
|
||||
this._handlePing([value, 0]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue