fixe korean language, fixed error in UpdateAllPlayerPassiveItems and improved language debugger errors

This commit is contained in:
Wofsauge committed 2024-07-30 16:55:03 +02:00
1 parent f79a5bc150
commit f686e2ec67
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -2296,8 +2296,8 @@ function EID:UpdateAllPlayerPassiveItems()
-- super hacky Tainted Cain active items check, mostly for transformation progress
-- Only adds up to one copy of any active, I can't think of a good way to recognize a craft of the same active twice. better than nothing
if EID.isRepentance and player:GetPlayerType() == 23 then
for i = 0, 1 do
local itemID = tostring(player:GetActiveItem(i))
for j = 0, 1 do
local itemID = tostring(player:GetActiveItem(j))
if itemID ~= "0" then
EID:InitActiveItemInteraction(itemID)
if EID.PlayerItemInteractions[playerNum].actives[itemID] == 0 then EID.PlayerItemInteractions[playerNum].actives[itemID] = 1 end
+1 -1
View File
@@ -32,7 +32,7 @@ for _,lang in ipairs(languageFilesToCheck) do
print("Type mismatch in table '" .. prevKey .. "', key: " .. k)
progress[2] = progress[2] + 1
elseif type(table2[k]) == "table" then
EID:compareTables(table1[k], table2[k], k, progress)
EID:compareTables(table1[k], table2[k], prevKey.."->"..k, progress)
else
-- check for broken markup stuff
local filteredText = EID:replaceShortMarkupStrings(table2[k])