修正一处拼写问题导致报错消息识别错误

This commit is contained in:
MrZ626
2021-11-21 21:45:37 +08:00
parent 942416317c
commit 05d7eb60bc

View File

@@ -379,7 +379,7 @@ end
function love.errorhandler(msg)
if type(msg)~='string'then
msg="Unknown error"
elseif msg:find("Invaild UTF-8")and text then
elseif msg:find("Invalid UTF-8")and text then
msg=text.tryAnotherBuild
end