fix: reset command position for non-target commands

This commit is contained in:
pavanvo 2022-08-16 22:00:31 +04:00
parent aec7bf5c80
commit 8caa800ee1
No known key found for this signature in database
GPG Key ID: 34C1C36681B4AD84
1 changed files with 2 additions and 0 deletions

View File

@ -479,6 +479,8 @@ void Gui::giveOneClickOrders(){
addOrdersResultToConsole(activeCommandClass, result);
activeCommandType= NULL;
activeCommandClass= ccStop;
selectingPos= false;
activePos= invalidPos;
}
void Gui::giveDefaultOrders(int x, int y) {