Double right-click fix test

This commit is contained in:
mathusummut
2018-09-27 00:49:48 +02:00
parent e1f52a7ed8
commit c180f81117

View File

@@ -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()) {