From ccd06a80d99b6d6c806e64ed99ed36c6f296f4ef Mon Sep 17 00:00:00 2001 From: Fradet Date: Sat, 22 Jun 2024 19:05:59 +0200 Subject: [PATCH] fix: remove comment --- gui/src/Engine/Engine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/src/Engine/Engine.cpp b/gui/src/Engine/Engine.cpp index 32571c83..a568e3e9 100644 --- a/gui/src/Engine/Engine.cpp +++ b/gui/src/Engine/Engine.cpp @@ -90,9 +90,9 @@ void Gui::Engine::updateMap() if (!(mapSize.first == 0 && mapSize.second == 0) && _gameData.get()->getNbBCTCommandReceived() >= mapSize.first * mapSize.second) { if (TIME_UNIT_MAP_UPDATE / _gameData->getServerTick() >= 2 && (float)(currentTick - _gameData->getLastTickMctCommand()) / CLOCKS_PER_SEC > TIME_UNIT_MAP_UPDATE / _gameData->getServerTick()) { - //sendUpdateMapMessage(); + sendUpdateMapMessage(); } else if (TIME_UNIT_MAP_UPDATE / _gameData->getServerTick() < 2 && (float)(currentTick - _gameData->getLastTickMctCommand()) / CLOCKS_PER_SEC > 2) { - //sendUpdateMapMessage(); + sendUpdateMapMessage(); } } }