Fix combat action prediction (#19152)

* Fix action predictions

* Add ActionsAddedTest
This commit is contained in:
Leon Friedrich
2023-08-15 17:06:45 +12:00
committed by GitHub
parent cfccb5959a
commit cabc834e84
5 changed files with 84 additions and 5 deletions

View File

@@ -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);