Fixes UI becoming unresponsive when ordering units to garrison.
This was SVN commit r10190.
This commit is contained in:
parent
e100f7264b
commit
8b33f5cfd2
@ -709,6 +709,15 @@ function handleInputAfterGui(ev)
|
|||||||
inputState = INPUT_NORMAL;
|
inputState = INPUT_NORMAL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// else
|
||||||
|
default:
|
||||||
|
// Slight hack: If selection is empty, reset the input state
|
||||||
|
if (g_Selection.toList().length == 0)
|
||||||
|
{
|
||||||
|
preSelectedAction = ACTION_NONE;
|
||||||
|
inputState = INPUT_NORMAL;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case INPUT_SELECTING:
|
case INPUT_SELECTING:
|
||||||
|
Loading…
Reference in New Issue
Block a user