修正之前新公告解析的小问题

This commit is contained in:
MrZ626
2021-09-22 19:34:45 +08:00
parent 57a233d51b
commit 86d1f9470e

View File

@@ -83,7 +83,7 @@ local function _parseNotice(str)
for i=1,#str do
local m=str[i]
if m:find("=")then
str[m:sub(1,m:find("=")-1)]=m:sub(1,m:find("=")+1)
str[m:sub(1,m:find("=")-1)]=m:sub(m:find("=")+1)
end
end
return str[SETTING.locale]or str[1]