achievement warning is also rep only

This commit is contained in:
Buurazu authored and GitHub committed 2021-12-16 02:35:05 -05:00
1 parent 6f8fdfa292
commit eed7c39fc3
1 file changed
+24 -22
+24 -22
View File
@@ -304,28 +304,30 @@ if MCMLoaded then
} }
) )
-- disable the warnings that display at the start of new runs if REPENTANCE then
MCM.AddSetting( -- disable the warnings that display at the start of new runs
"EID", MCM.AddSetting(
"General", "EID",
{ "General",
Type = ModConfigMenu.OptionType.BOOLEAN, {
CurrentSetting = function() Type = ModConfigMenu.OptionType.BOOLEAN,
return EID.Config["DisableAchievementCheck"] CurrentSetting = function()
end, return EID.Config["DisableAchievementCheck"]
Display = function() end,
local onOff = "Enabled" Display = function()
if EID.Config["DisableAchievementCheck"] then local onOff = "Enabled"
onOff = "Disabled" if EID.Config["DisableAchievementCheck"] then
end onOff = "Disabled"
return "Start of Run Warnings: " .. onOff end
end, return "Start of Run Warnings: " .. onOff
OnChange = function(currentBool) end,
EID.Config["DisableAchievementCheck"] = currentBool OnChange = function(currentBool)
end, EID.Config["DisableAchievementCheck"] = currentBool
Info = {"Toggle the achievement, outdated game version, and modded crafting recipes warnings"} end,
} Info = {"Toggle the achievement, outdated game version, and modded crafting recipes warnings"}
) }
)
end
-- Disable on Curse -- Disable on Curse
MCM.AddSetting( MCM.AddSetting(