From 3ba965321a7794386dcfe945f64082078dc9d57f Mon Sep 17 00:00:00 2001 From: adelikat Date: Wed, 9 Sep 2015 19:57:14 -0400 Subject: [PATCH] make bizstring.split() 1-based --- BizHawk.Client.Common/lua/EmuLuaLibrary.String.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Client.Common/lua/EmuLuaLibrary.String.cs b/BizHawk.Client.Common/lua/EmuLuaLibrary.String.cs index 94590d69ab..51f3bc7bce 100644 --- a/BizHawk.Client.Common/lua/EmuLuaLibrary.String.cs +++ b/BizHawk.Client.Common/lua/EmuLuaLibrary.String.cs @@ -199,7 +199,7 @@ namespace BizHawk.Client.Common for (int i = 0; i < splitStr.Length; i++) { - table[i] = splitStr[i]; + table[i + 1] = splitStr[i]; } }