1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-09 09:39:53 +00:00

Add missing to_string

This commit is contained in:
uramer 2023-01-29 19:28:54 +01:00
parent 3618b3f409
commit 749c89e26e

View File

@ -115,6 +115,9 @@ M.__newindex = function(self, key, value)
error('Content can only contain tables')
end
end
M.__tostring = function(self)
return ('UiContent{%d layouts}'):format(#self)
end
local function next(self, index)
local v = rawget(self, index)
if v then