fixed minor bug where pressing ctl select a new unit would de-select
units that are already selected
This commit is contained in:
parent
65dfcc967e
commit
d44644c2a6
@ -355,7 +355,6 @@ public class playerCommander {
|
|||||||
|
|
||||||
|
|
||||||
if(isSelectingUnit){
|
if(isSelectingUnit){
|
||||||
deSelectAll();
|
|
||||||
isSelectingUnit = false;
|
isSelectingUnit = false;
|
||||||
int width = Math.abs(endX - startX);
|
int width = Math.abs(endX - startX);
|
||||||
int height = Math.abs(endY - startY);
|
int height = Math.abs(endY - startY);
|
||||||
@ -734,6 +733,8 @@ public class playerCommander {
|
|||||||
doubleClicked = false;
|
doubleClicked = false;
|
||||||
doubleClickCountDown = 0;
|
doubleClickCountDown = 0;
|
||||||
}
|
}
|
||||||
|
}else {
|
||||||
|
deSelectAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user