Fix selecting formations when cycling through idle entities.
Since formations have `cmpIdentity` now (b778caf146
), they were
incorrectly selected when cycling through idle entities.
Reported and tested by: @Langbart
Differential revision: https://code.wildfiregames.com/D4588
Fixes #6490
This was SVN commit r26756.
This commit is contained in:
parent
d847a1c479
commit
f9fae35b59
@ -63,7 +63,7 @@
|
||||
</object>
|
||||
|
||||
<object hotkey="selection.idleunit">
|
||||
<action on="KeyDown">findIdleUnit(["!Domestic"]);</action>
|
||||
<action on="KeyDown">findIdleUnit(["!Domestic+!Formation"]);</action>
|
||||
</object>
|
||||
|
||||
<object hotkey="selection.cancel">
|
||||
|
@ -29,6 +29,7 @@
|
||||
</FormationAttack>
|
||||
<Identity>
|
||||
<Civ/> <!-- Unused -->
|
||||
<Classes datatype="tokens">Formation</Classes>
|
||||
<Undeletable>true</Undeletable>
|
||||
</Identity>
|
||||
<Obstruction>
|
||||
|
Loading…
Reference in New Issue
Block a user