Browse Source

Fixed RunScript command to continue if not stopping

master
chrisgregan 10 years ago
parent
commit
6c9f1cb045
  1. 6
      Assets/Fungus/FungusScript/Commands/RunScript.cs

6
Assets/Fungus/FungusScript/Commands/RunScript.cs

@ -21,7 +21,13 @@ namespace Fungus
{ {
Stop(); Stop();
} }
targetFungusScript.Execute(); targetFungusScript.Execute();
if (!stopCurrentScript)
{
Continue();
}
} }
else else
{ {

Loading…
Cancel
Save