From 3e3b1654fc6188a4aae346d9d27587a0449b2747 Mon Sep 17 00:00:00 2001 From: Alessandro Proto Date: Wed, 18 Jan 2023 16:27:49 +0100 Subject: [PATCH] Bugfix loadfile not using correct chunkname format --- Capy64/LuaRuntime/Sandbox.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Capy64/LuaRuntime/Sandbox.cs b/Capy64/LuaRuntime/Sandbox.cs index 6e4d335..44afcfb 100644 --- a/Capy64/LuaRuntime/Sandbox.cs +++ b/Capy64/LuaRuntime/Sandbox.cs @@ -228,7 +228,7 @@ internal class Sandbox L.GetGlobal("load"); L.PushBuffer(chunk); - L.PushString(filename); + L.PushString("@" + filename); var values = 2;