Fixed StatemMachine State delegate assignment being backwards.

This commit is contained in:
MapleWheels
2026-01-22 17:04:09 -05:00
committed by Maplewheels
parent 7e0e671539
commit 09faa8403a
2 changed files with 2 additions and 6 deletions
@@ -87,7 +87,7 @@ public class State<T> where T : Enum
{
public T StateId;
private Action<State<T>> _onEnter, _onExit;
public State(T stateId, Action<State<T>> onExitState, Action<State<T>> onEnterState)
public State(T stateId, Action<State<T>> onEnterState, Action<State<T>> onExitState)
{
StateId = stateId;
_onEnter = onEnterState;