Skip to content

Commit

Permalink
re-fixed #15 - somehow the fix didn't stick after the merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip van Allen committed Mar 11, 2019
1 parent 3c35ee8 commit 2bcb18c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions unity/delft-toolkit/Assets/Scripts/delftToolkit/Nodes/Exit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ protected override void OnEnter() {
StateGraph stateGraph = graph as StateGraph;
if (stateGraph != null) stateGraph.Exit();
else Debug.LogWarning("Graph isn't a Delft StateGraph");
Exit();

}

protected override void OnExit() {
Expand Down

0 comments on commit 2bcb18c

Please sign in to comment.