Fixed incompatibility with GoG Version

This commit is contained in:
Wofsauge committed 2023-04-02 17:32:05 +02:00
1 parent f3504dc7ac
commit 7a74260e54
1 file changed
+1 -1
+1 -1
View File
@@ -307,7 +307,7 @@ end
-- Loads a given font from a given file path and use it to render text
function EID:loadFont(fontFileName)
EID.font:Load(fontFileName)
EID.font:Load(fontFileName, "") -- GoG Version of game somehow wants a string as the second argument
EID.font:SetMissingCharacter(2)
if not EID.font:IsLoaded() then
Isaac.DebugString("EID - ERROR: Could not load font from '" .. EID.modPath .. "resources/font/default.fnt" .. "'")