putting the L in lua

This commit is contained in:
Yoshman29
2022-11-27 23:58:33 +01:00
parent d2fea3a868
commit 5164b1218c
+3
View File
@@ -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);
}