mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
fix containers refreshing
This commit is contained in:
parent
d845aeb55f
commit
34295faca2
4 changed files with 19 additions and 7 deletions
|
|
@ -229,7 +229,7 @@ function gui.template(name, params)
|
|||
text = text:gsub("%%{([^}]+)}", function(n)
|
||||
local s = params[n]
|
||||
if type(s) ~= "string" then
|
||||
return s
|
||||
return tostring(s)
|
||||
end
|
||||
if #s == 0 then
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue