Add some tests and fix some miscellaneous bugs (#22836)
* Add some tests and fix some bugs * Add more helper methods * remove submodule * fix merge * also fix DirtyAll() * poke
This commit is contained in:
@@ -773,9 +773,10 @@ public sealed class ActionUIController : UIController, IOnStateChanged<GameplayS
|
||||
if (_actionsSystem == null)
|
||||
return;
|
||||
|
||||
for (var i = 0; i < assignments.Count; i++)
|
||||
_actions.Clear();
|
||||
foreach (var assign in assignments)
|
||||
{
|
||||
_actions[i] = assignments[i].ActionId;
|
||||
_actions.Add(assign.ActionId);
|
||||
}
|
||||
|
||||
_container?.SetActionData(_actionsSystem, _actions.ToArray());
|
||||
|
||||
Reference in New Issue
Block a user