Implement effect data syncing for other players
syncExtend
currently only syncs for self.
Some effects on players/other objects need to sync data to all other players to visually display things.
Additionally: Fix syncExtend calls inside init
:
If an effect tries to syncExtend
some data to the client-side effect during it's init, syncExtend won't work because it looks for the effect by id (this.syncExtend(data)
calls effectsCpn.syncExtend(this.id, data)
) but the effect isn't in the array yet, so nothing happens.