Build option for Lua events that is off by default.

This commit is contained in:
jussi
2024-02-10 21:06:09 +02:00
parent eda4eacfce
commit 6557a2ebca
11 changed files with 29 additions and 13 deletions

View File

@@ -4,7 +4,7 @@ if table.unpack == nil then
end
local Rune = {}
Rune.meta = {
local metatable = {
__index = Rune,
__tostring = function( r )
return r.string
@@ -27,7 +27,7 @@ function Rune:new( string )
string = ""
end
local object = setmetatable( {}, Rune.meta )
local object = setmetatable( {}, metatable )
object.string = string