fixed the font issue

This commit is contained in:
Yoshman29
2022-12-08 17:10:28 +01:00
parent a4d07ae8ab
commit 88f8055c4e
6 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ class HScript extends Script {
if (interp == null) return null;
var func = interp.variables.get(funcName);
if (Reflect.isFunction(func))
if (func != null && Reflect.isFunction(func))
return (parameters != null && parameters.length > 0) ? Reflect.callMethod(null, func, parameters) : func();
return null;