Skip to content

Commit

Permalink
fix: remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AxelF44 committed Jun 22, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 8715465 commit ccd06a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/src/Engine/Engine.cpp
Original file line number Diff line number Diff line change
@@ -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();
}
}
}

0 comments on commit ccd06a8

Please sign in to comment.