Browse Source

Fixed LoadGlobals and SaveGlobals not continuing when finished

master
chrisgregan 10 years ago
parent
commit
c08a8ae367
  1. 1
      Assets/Fungus/FungusScript/Scripts/Commands/LoadGlobals.cs
  2. 1
      Assets/Fungus/FungusScript/Scripts/Commands/SaveGlobals.cs

1
Assets/Fungus/FungusScript/Scripts/Commands/LoadGlobals.cs

@ -15,6 +15,7 @@ namespace Fungus
public override void OnEnter() public override void OnEnter()
{ {
GlobalVariables.Load(saveName); GlobalVariables.Load(saveName);
Continue();
} }
public override string GetSummary() public override string GetSummary()

1
Assets/Fungus/FungusScript/Scripts/Commands/SaveGlobals.cs

@ -15,6 +15,7 @@ namespace Fungus
public override void OnEnter() public override void OnEnter()
{ {
GlobalVariables.Save(saveName); GlobalVariables.Save(saveName);
Continue();
} }
public override string GetSummary() public override string GetSummary()

Loading…
Cancel
Save