diff --git a/Install_00/Prototype.lua b/Install_00/Prototype.lua index 2b3ca73..46cbf2d 100644 --- a/Install_00/Prototype.lua +++ b/Install_00/Prototype.lua @@ -45,7 +45,7 @@ function Prototype:__tostring() elseif t=="number" or t=="boolean" then return tostring(self) elseif t=="string" then - return "\""..self:gsub("\\","\\\\"):gsub("\"","\\\"").."\"" + return ("%q"):format(self) else return "nil" end