mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 12:28:03 -08:00
Fix Player Name Size Limit not working with UTF-8.
This commit is contained in:
@@ -66,9 +66,9 @@ function table_helpers.tostring(table)
|
||||
local s = "{ \n";
|
||||
for k,v in pairs(table) do
|
||||
if type(k) ~= "number" then
|
||||
k = '"' .. k .. '"';
|
||||
k = "\"" .. k .. "\"";
|
||||
end
|
||||
s = s .. "\t["..k.."] = " .. table_helpers.tostring(v) .. ",\n";
|
||||
s = s .. "\t[" .. k .."] = " .. table_helpers.tostring(v) .. ",\n";
|
||||
end
|
||||
return s .. "} \n";
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user