Skip to content

Commit

Permalink
Merge pull request #5 from dzwdz/master
Browse files Browse the repository at this point in the history
Some languages make the game unplayable
  • Loading branch information
BadgerCode authored Nov 30, 2020
2 parents 52e072b + f09ddac commit f34b670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/damagelogs/shared/lang.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ function TTTLogTranslate(GetDMGLogLang, phrase, nomissing)
f = Damagelog.ForcedLanguage
end

return DamagelogLang[f][phrase] or LANG.TryTranslation(phrase) or not nomissing and "Missing: " .. tostring(phrase)
return DamagelogLang[f][phrase] or DamagelogLang["english"][phrase] or LANG.TryTranslation(phrase) or not nomissing and "Missing: " .. tostring(phrase)
end

0 comments on commit f34b670

Please sign in to comment.