From 5164b1218c7dd1ed67027bb7236b2863e87173a2 Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Sun, 27 Nov 2022 23:58:33 +0100 Subject: [PATCH] putting the L in lua --- source/funkin/scripting/Script.hx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/funkin/scripting/Script.hx b/source/funkin/scripting/Script.hx index 9dfed228..f9eeca46 100644 --- a/source/funkin/scripting/Script.hx +++ b/source/funkin/scripting/Script.hx @@ -103,6 +103,9 @@ class Script extends FlxBasic implements IFlxDestroyable { return switch(Path.extension(path).toLowerCase()) { case "hx" | "hscript" | "hsc": new HScript(path); + case "lua": + Logs.trace("Lua is not supported in this engine. Use HScript instead.", ERROR); + new DummyScript(path); default: new DummyScript(path); }