mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Update TODO after re-reading code and seeing that it was slightly inaccurate
This commit is contained in:
parent
b96e7e1b26
commit
b72bf74563
@ -311,8 +311,11 @@ impl<'a> System<'a> for Sys {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: force update counter only needs to be sent with updates specifically
|
||||
// for a client's own entity. We can save bandwidth here.
|
||||
// TODO: force update counter only needs to be sent once per frame (and only if
|
||||
// it changed, although it might not be worth having a separate message for
|
||||
// optionally sending it since individual messages may have a bandwidth
|
||||
// overhead), however, here we send it potentially 2 times per subscribed
|
||||
// region by including it in the `CompSync` message.
|
||||
client.send_fallible(ServerGeneral::CompSync(
|
||||
comp_sync_package,
|
||||
force_updates.get(*client_entity).map_or(0, |f| f.counter()),
|
||||
|
Loading…
Reference in New Issue
Block a user