me is idiot

This commit is contained in:
TopchetoEU 2023-08-05 18:41:02 +03:00
parent 2858d685ad
commit 5629b9ab25
No known key found for this signature in database
GPG Key ID: 24E57B2E9C61AD19

View File

@ -38,7 +38,7 @@ public class Module {
if (executing) return;
executing = true;
var scope = ctx.engine().scope().globalChild();
var scope = ctx.engine().global().globalChild();
scope.define("module", true, this);
scope.define("exports", new ExportsVariable());