added feedback to event calling and fixed event registry
disabled ability to handle global events from player scoped apps
This commit is contained in:
1 parent
a94ab55e66
commit
5c9774f1d2
6 files changed
+69
-43
No files matched your search
@@ -680,7 +680,7 @@ public class Expression
|
||||
|
||||
FunctionValue result = new FunctionValue(expr, token, name, code, arguments, contextValues);
|
||||
// do not store lambda definitions
|
||||
if (!name.equals("_")) context.host.addUserDefinedFunction(module, name, result);
|
||||
if (!name.equals("_")) context.host.addUserDefinedFunction(context, module, name, result);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user