Dont announce entities to player instantly upon world change but with 1 frame delay
This commit is contained in:
parent
3d7db1184f
commit
da4eaae9ec
@ -35,6 +35,8 @@ void game::Player::Update()
|
|||||||
SendWorldMsg();
|
SendWorldMsg();
|
||||||
known_world_ = world_;
|
known_world_ = world_;
|
||||||
known_ents_.clear();
|
known_ents_.clear();
|
||||||
|
|
||||||
|
return; // send updates next frame
|
||||||
}
|
}
|
||||||
|
|
||||||
if (world_)
|
if (world_)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user