From 7a74260e549fe0346fee276efe4caf80cea4e30e Mon Sep 17 00:00:00 2001 From: Wofsauge Date: Sun, 2 Apr 2023 17:32:05 +0200 Subject: [PATCH] Fixed incompatibility with GoG Version --- eid_api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eid_api.lua b/eid_api.lua index bad1f28e..632d5914 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -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" .. "'")