Updated Gameversion warning to support patch 1.7.9
This commit is contained in:
1 parent
736b4ba590
commit
7dd1962ee8
10 files changed
+12
-11
No files matched your search
@@ -1068,7 +1068,8 @@ local function checkStartOfRunWarnings()
|
||||
if REPENTANCE and not EID.Config["DisableStartOfRunWarnings"] and game:GetFrameCount() < 10*30 then
|
||||
-- Old Repentance version check; update this to check for the existence of the newest mod API function EID uses
|
||||
-- 1.7.6 (Nov. 16, 2021): The Options object (to read the game's options like HUD Offset)
|
||||
if Options == nil then
|
||||
-- 1.7.9 (Nov. 04, 2022): The CraftingQuality attribute was added
|
||||
if Options == nil or Isaac.GetItemConfig():GetCollectible(1).CraftingQuality == nil then
|
||||
local demoDescObj = EID:getDescriptionObj(-999, -1, 1)
|
||||
demoDescObj.Name = EID:getDescriptionEntry("AchievementWarningTitle") or ""
|
||||
demoDescObj.Description = EID:getDescriptionEntry("OldGameVersionWarningText") or ""
|
||||
|
||||
Reference in new issue
Block a user