[Client] Avoid sending CellStates to server after initialization

Although b4e8560698 made players instantly able to see each other on minimalist servers that did not change their cells from the default, it created problems with the default CoreScripts where players need to be logged in before receipt of a CellStates packet from them is taken into account, with the result being that a player was recorded as having loaded their initial cells on the server's C++ side but not on the Lua side.

It may simply be best to expect servers to set player cells.
pull/415/head
David Cernat 7 years ago
parent 099f85be0a
commit 1b1e5e86d1

@ -227,7 +227,6 @@ void Main::updateWorld(float dt) const
mNetworking->getPlayerPacket(ID_PLAYER_BASEINFO)->Send();
mNetworking->getPlayerPacket(ID_LOADED)->Send();
mLocalPlayer->updateStatsDynamic(true);
mLocalPlayer->sendCellStates();
get().getGUIController()->setChatVisible(true);
}
else

Loading…
Cancel
Save