Some network messages relayout GUI
This commit is contained in:
parent
4aa810fe43
commit
99c2657434
15 changed files with 71 additions and 9 deletions
|
|
@ -179,6 +179,7 @@ void WorldGrid::register_class(World& w) {
|
|||
auto readWorldGrid = [&](WorldGrid& o, cereal::PortableBinaryInputArchive& a, const std::shared_ptr<NetServer::ClientData>& c) {
|
||||
a(o);
|
||||
canvas_scale_up_check(o, w, c);
|
||||
w.set_to_layout_gui_if_focus();
|
||||
};
|
||||
w.delayedUpdateObjectManager.register_class<WorldGrid>(w.netObjMan, NetworkingObjects::DelayUpdateSerializedClassManager::CustomConstructors<WorldGrid>{
|
||||
.readConstructor = readWorldGrid,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue