network tweaks

This commit is contained in:
milek7
2019-11-16 14:58:17 +01:00
parent b823e0a5b6
commit c31af696c4
4 changed files with 26 additions and 16 deletions

View File

@@ -253,9 +253,13 @@ eu07_application::run() {
if (m_network && m_network->client)
{
// verify sync
if (sync != slave_sync) {
if (sync != slave_sync) {
WriteLog("net: desync! calculated: " + std::to_string(sync)
+ ", received: " + std::to_string(slave_sync), logtype::net);
ImGui::Begin("NET");
ImGui::TextUnformatted("desync!");
ImGui::End();
}
// set total delta for rendering code