lua - tastudio.loadbranch - use the already existing (and better) load branch method
This commit is contained in:
parent
2aaae85c36
commit
8bbc2c75d0
|
@ -191,7 +191,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
};
|
||||
}
|
||||
|
||||
public void LoadBranch(TasBranch branch)
|
||||
private void LoadBranch(TasBranch branch)
|
||||
{
|
||||
if (Tastudio.Settings.OldControlSchemeForBranches && !Tastudio.TasPlaybackBox.RecordingMode)
|
||||
{
|
||||
|
|
|
@ -140,11 +140,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
public void LoadBranchByIndex(int index)
|
||||
{
|
||||
if (index < CurrentTasMovie.BranchCount)
|
||||
{
|
||||
var branch = CurrentTasMovie.Branches[index];
|
||||
BookMarkControl.LoadBranch(branch);
|
||||
}
|
||||
BookMarkControl.LoadBranchExternal(index);
|
||||
}
|
||||
|
||||
private void AutosaveTimerEventProcessor(object sender, EventArgs e)
|
||||
|
|
Loading…
Reference in New Issue