From dcbaa2b5822435a9ba6309ffc83d843c8a1ba21c Mon Sep 17 00:00:00 2001 From: marshmellow42 Date: Tue, 26 May 2015 20:31:07 -0400 Subject: [PATCH 1/1] @iceman1001 s lua script fix --- client/scripts/dumptoemul.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/scripts/dumptoemul.lua b/client/scripts/dumptoemul.lua index f9b71509..f8cc11d4 100644 --- a/client/scripts/dumptoemul.lua +++ b/client/scripts/dumptoemul.lua @@ -73,7 +73,8 @@ local function convert_to_emulform(hexdata) for i = 1, string.len(hexdata),32 do ascii = ascii ..string.sub(hexdata,i,i+31).."\n" end - return ascii + + return string.sub(ascii,1,-1) end local function main(args) -- 2.39.5