mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-18 09:14:09 +00:00
use updates for serializing game updates
This commit is contained in:
@@ -416,8 +416,8 @@ export class GameImpl implements MutableGame {
|
||||
return false
|
||||
}
|
||||
|
||||
public fireUnitUpdateEvent(unit: Unit, oldTile: Tile) {
|
||||
this.updates.push((unit as UnitImpl).toUpdate(oldTile))
|
||||
public fireUnitUpdateEvent(unit: Unit) {
|
||||
this.updates.push((unit as UnitImpl).toUpdate())
|
||||
}
|
||||
|
||||
target(targeter: Player, target: Player) {
|
||||
|
||||
Reference in New Issue
Block a user