Skip to content

Commit

Permalink
Fix unextendable state transition initiation
Browse files Browse the repository at this point in the history
  • Loading branch information
Scribblerockerz committed May 13, 2020
1 parent 609b7bc commit a7406e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ReGoap/Unity/FSMExample/FSM/SmsGoTo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private Type DoneTransition(ISmState state)
private Type Transition(ISmState state)
{
if (currentState == GoToState.Pulsed)
return typeof(SmsGoTo);
return GetType();
return null;
}

Expand Down

0 comments on commit a7406e9

Please sign in to comment.