From 5de779190ad4022685d67c87a33a4b16c03766f4 Mon Sep 17 00:00:00 2001
From: ShadowMario <44785097+ShadowMario@users.noreply.github.com>
Date: Fri, 16 Aug 2024 22:37:57 -0300
Subject: [PATCH] Changed HScript version (for now)
---
Project.xml | 2 +-
setup/unix.sh | 2 +-
setup/windows.bat | 2 +-
source/psychlua/HScript.hx | 1 -
4 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/Project.xml b/Project.xml
index 4988c25b7f5..0734f84a2f0 100644
--- a/Project.xml
+++ b/Project.xml
@@ -109,7 +109,7 @@
-
+
diff --git a/setup/unix.sh b/setup/unix.sh
index 876f5f97abe..08f8ad62c7e 100755
--- a/setup/unix.sh
+++ b/setup/unix.sh
@@ -10,7 +10,7 @@ haxelib install openfl 9.3.3
haxelib install flixel 5.6.1
haxelib install flixel-addons 3.2.2
haxelib install flixel-tools 1.5.1
-haxelib install SScript 21.0.0
+haxelib install SScript 19.0.618
haxelib install tjson 1.4.0
haxelib git flxanimate https://github.com/Dot-Stuff/flxanimate 768740a56b26aa0c072720e0d1236b94afe68e3e
haxelib git linc_luajit https://github.com/superpowers04/linc_luajit 633fcc051399afed6781dd60cbf30ed8c3fe2c5a
diff --git a/setup/windows.bat b/setup/windows.bat
index 89fc52084ed..e36643b46c5 100644
--- a/setup/windows.bat
+++ b/setup/windows.bat
@@ -9,7 +9,7 @@ haxelib install openfl 9.3.3
haxelib install flixel 5.6.1
haxelib install flixel-addons 3.2.2
haxelib install flixel-tools 1.5.1
-haxelib install SScript 21.0.0
+haxelib install SScript 19.0.618
haxelib install tjson 1.4.0
haxelib git flxanimate https://github.com/Dot-Stuff/flxanimate 768740a56b26aa0c072720e0d1236b94afe68e3e
haxelib git linc_luajit https://github.com/superpowers04/linc_luajit 633fcc051399afed6781dd60cbf30ed8c3fe2c5a
diff --git a/source/psychlua/HScript.hx b/source/psychlua/HScript.hx
index 5f84da6f1fc..291a872d3ca 100644
--- a/source/psychlua/HScript.hx
+++ b/source/psychlua/HScript.hx
@@ -373,7 +373,6 @@ class HScript extends SScript
funk.addLocalCallback("runHaxeFunction", function(funcToRun:String, ?funcArgs:Array = null) {
#if SScript
- trace(funcArgs);
var callValue = funk.hscript.executeFunction(funcToRun, funcArgs);
if (!callValue.succeeded)
{