TAStudio macros: fix regression from commit 5bbdf2a
caused by bad order of operations (remove ?? operator entirely since we have already checked that the values exist)
This commit is contained in:
parent
dda09dd713
commit
97e4d42b7b
|
@ -242,8 +242,8 @@ namespace BizHawk.Client.EmuHawk
|
||||||
Emulator,
|
Emulator,
|
||||||
Tools,
|
Tools,
|
||||||
MovieSession,
|
MovieSession,
|
||||||
TasView.FirstSelectedIndex ?? 0,
|
TasView.FirstSelectedIndex.Value,
|
||||||
TasView.LastSelectedIndex ?? 0 - TasView.FirstSelectedIndex ?? 0 + 1)
|
TasView.LastSelectedIndex.Value - TasView.FirstSelectedIndex.Value + 1)
|
||||||
.Save(file.FullName);
|
.Save(file.FullName);
|
||||||
|
|
||||||
Config.RecentMacros.Add(file.FullName);
|
Config.RecentMacros.Add(file.FullName);
|
||||||
|
|
Loading…
Reference in New Issue