diff --git a/core.lua b/core.lua index 891e559..1a36dfd 100644 --- a/core.lua +++ b/core.lua @@ -2,6 +2,11 @@ Core = {}; Core.__index = Core; +function Core:new() + local self = setmetatable({}, Core); + return self; +end + function Core:connect() ws, err = assert(http.websocket("ws://localhost:8080"));