From 90b1cb795400d993e42480dd3149a8043ecb9f0b Mon Sep 17 00:00:00 2001 From: George Talusan Date: Mon, 9 Jan 2023 10:35:15 -0500 Subject: [PATCH] fix off-by-1 when removing header in hf_mfu_amiibo_restore --- client/luascripts/hf_mfu_amiibo_restore.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/luascripts/hf_mfu_amiibo_restore.lua b/client/luascripts/hf_mfu_amiibo_restore.lua index b83f3feb1..c31db7098 100644 --- a/client/luascripts/hf_mfu_amiibo_restore.lua +++ b/client/luascripts/hf_mfu_amiibo_restore.lua @@ -105,7 +105,7 @@ local function main(args) -- chomp emu header if #hex == 1192 then - hex = hex:sub(112) + hex = hex:sub(113) end local amiibo_offset = 0