PlayerControllerHuman: support "OrderDuplicates" on sa

This commit is contained in:
Northmoc
2022-04-25 11:23:29 -04:00
parent b76061f6d8
commit 6b6636deb3

View File

@@ -1842,7 +1842,7 @@ public class PlayerControllerHuman extends PlayerController implements IGameCont
if (!currentSa.isTrigger() && currentSa.usesTargeting()) {
needPrompt = true;
}
if (!needPrompt && !saStr.equals(firstStr)) {
if (!needPrompt && !saStr.equals(firstStr) && !currentSa.hasParam("OrderDuplicates")) {
needPrompt = true; // prompt by default unless all abilities
// are the same
}