diff --git a/src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/TAStudioLuaLibrary.cs b/src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/TAStudioLuaLibrary.cs index cd648ad6c1..864c3a460d 100644 --- a/src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/TAStudioLuaLibrary.cs +++ b/src/BizHawk.Client.EmuHawk/tools/Lua/Libraries/TAStudioLuaLibrary.cs @@ -447,9 +447,9 @@ namespace BizHawk.Client.EmuHawk [LuaMethod( name: "getmarker", description: "Returns the label of the marker on the given frame." - + " If that frame doesn't have a marker (or TAStudio isn't running), returns an empty string." + + " If that frame doesn't have a marker (or TAStudio isn't running), returns nil." + " If branchIndex is specified, searches the markers in that branch instead.")] - public string GetMarker(int frame, int? branchIndex = null) + public string/*?*/ GetMarker(int frame, int? branchIndex = null) { if (Engaged()) { @@ -460,7 +460,7 @@ namespace BizHawk.Client.EmuHawk } } - return ""; + return null; } /// assumes a TAStudio project is loaded