From c180f8111735e6eba36446c5f953b52b2aa7c673 Mon Sep 17 00:00:00 2001 From: mathusummut Date: Thu, 27 Sep 2018 00:49:48 +0200 Subject: [PATCH] Double right-click fix test --- source/glest_game/game/commander.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/glest_game/game/commander.cpp b/source/glest_game/game/commander.cpp index 18193ca89..824673826 100644 --- a/source/glest_game/game/commander.cpp +++ b/source/glest_game/game/commander.cpp @@ -485,7 +485,7 @@ namespace unitId, commandType->getId(), currPos, -1, targetId, -1, tryQueue, cst_None, -1, unitCommandGroupId); - resultCur = pushNetworkCommand(&networkCommand, isMove); + resultCur = isMove ? giveNetworkCommand(&networkCommand) : pushNetworkCommand(&networkCommand); } results.push_back(resultCur); } else if (!ignoreBuildings && unit->isMeetingPointSettable()) {