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:
parent
3618b3f409
commit
749c89e26e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user