mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-31 03:36:40 +00:00
Add missing to_string
This commit is contained in:
parent
3618b3f409
commit
749c89e26e
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue