Automatically finalize any delayed update objects
This commit is contained in:
parent
8defbe7569
commit
66d372d810
4 changed files with 38 additions and 7 deletions
|
|
@ -217,7 +217,7 @@ void World::focus_update() {
|
|||
}
|
||||
|
||||
if(!clientStillConnecting) {
|
||||
delayedUpdateObjectManager.update();
|
||||
delayedUpdateObjectManager.update(netObjMan);
|
||||
constexpr float SECONDS_TO_SEND_CAMERA_DATA = 0.5f;
|
||||
timeToSendCameraData.update_time_since();
|
||||
if(timeToSendCameraData.get_time_since() > SECONDS_TO_SEND_CAMERA_DATA) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue