mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-03-27 18:22:47 +01:00
Модуль интерпретатора Lua для приложения Control
This commit is contained in:
@@ -287,9 +287,9 @@ local function doSerialize(array, prettyLook, indentationSymbol, indentationSymb
|
||||
|
||||
table.insert(text, equalsSymbol)
|
||||
|
||||
if valueType == "number" or valueType == "boolean" or valueType == "nil" or valueType == "function" then
|
||||
if valueType == "number" or valueType == "boolean" or valueType == "nil" then
|
||||
table.insert(text, stringValue)
|
||||
elseif valueType == "string"then
|
||||
elseif valueType == "string" or valueType == "function" then
|
||||
table.insert(text, "\"")
|
||||
table.insert(text, stringValue)
|
||||
table.insert(text, "\"")
|
||||
@@ -310,7 +310,7 @@ local function doSerialize(array, prettyLook, indentationSymbol, indentationSymb
|
||||
)
|
||||
)
|
||||
else
|
||||
table.insert(text, "…")
|
||||
table.insert(text, "\"…\"")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user