Fix combat action prediction (#19152)
* Fix action predictions * Add ActionsAddedTest
This commit is contained in:
@@ -390,7 +390,7 @@ public sealed class ActionUIController : UIController, IOnStateChanged<GameplayS
|
||||
|
||||
private void OnActionAdded(ActionType action)
|
||||
{
|
||||
// if the action is toggled when we add it, start targetting
|
||||
// if the action is toggled when we add it, start targeting
|
||||
if (action is TargetedAction targetAction && action.Toggled)
|
||||
StartTargeting(targetAction);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user