Fixed up naming convention for new description table

This commit is contained in:
Wofsauge committed 2024-06-09 19:28:31 +02:00
1 parent 668f125dbf
commit 94e7d21e04
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -618,7 +618,7 @@ function EID:getObjectName(Type, Variant, SubType)
end
function EID:getPlayerName(id)
local playerInfo = EID:getDescriptionEntry("characterInfo")[id]
local playerInfo = EID:getDescriptionEntry("CharacterInfo")[id]
local birthrightInfo = EID.isRepentance and EID:getDescriptionEntry("birthright")[id+1]
return (playerInfo and playerInfo[1]) or (birthrightInfo and birthrightInfo[1]) or "???"
end