From d94d9fb122e42264eca20bb037fe8a82290bd3e2 Mon Sep 17 00:00:00 2001 From: sanine Date: Thu, 16 Mar 2023 12:12:39 -0500 Subject: implement ecs node cascading --- honey/window.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'honey/window.lua') diff --git a/honey/window.lua b/honey/window.lua index 471d51e..fa777d0 100644 --- a/honey/window.lua +++ b/honey/window.lua @@ -1,7 +1,7 @@ -local window = {} +local module = {} local glfw = honey.glfw -setmetatable(window, {__index=_G}) -setfenv(1, window) +setmetatable(module, {__index=_G}) +setfenv(1, module) Window = {} @@ -157,4 +157,4 @@ function Window.swapBuffers(self) end -return window +return module.Window -- cgit v1.2.1