Browse Source

Fixed command inspector not auto tracking program flow

master
chrisgregan 10 years ago
parent
commit
51d1b928d1
  1. 2
      Assets/Fungus/FungusScript/Scripts/Sequence.cs

2
Assets/Fungus/FungusScript/Scripts/Sequence.cs

@ -170,7 +170,7 @@ namespace Fungus
{
// Auto select a command in some situations
if ((fungusScript.selectedCommands.Count == 0 && commandIndex == 0) ||
(fungusScript.selectedCommands.Count == 1 && fungusScript.selectedCommands[0].commandIndex == commandIndex))
(fungusScript.selectedCommands.Count == 1 && fungusScript.selectedCommands[0].commandIndex == previousActiveCommandIndex))
{
fungusScript.ClearSelectedCommands();
fungusScript.AddSelectedCommand(nextCommand);

Loading…
Cancel
Save