Skip to content
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.

Commit

Permalink
Update AITransitionNode.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosecchi committed Dec 16, 2019
1 parent feade6a commit 2a516e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/AI/Graph/AITransitionNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public string GetFalseStateLabel()
{
var connection = GetOutputPort(C.PORT_FALSE_STATE).Connection;
if (connection == null) return "";
if (!(GetOutputPort(C.PORT_TRUE_STATE).Connection.node is AIBrainSubgraphNode)) return connection.node.name;
if (!(GetOutputPort(C.PORT_FALSE_STATE).Connection.node is AIBrainSubgraphNode)) return connection.node.name;
var label = connection.node.name + ">";
label += connection.fieldName.Split('-')[0];
return label;
Expand Down

0 comments on commit 2a516e4

Please sign in to comment.