Fixed compatibility with V1.9.7.7
This commit is contained in:
1 parent
84e6f03254
commit
b275d16867
1 file changed
+2
-2
@@ -6,8 +6,8 @@ EID.Languages = {"en_us", "fr", "pt", "pt_br", "ru", "spa", "it", "bul", "pl", "
|
|||||||
EID.descriptions = {} -- Table that holds all translation strings
|
EID.descriptions = {} -- Table that holds all translation strings
|
||||||
EID.enableDebug = false
|
EID.enableDebug = false
|
||||||
local game = Game()
|
local game = Game()
|
||||||
EID.isRepentance = REPENTANCE -- REPENTANCE variable can be altered by any mod, so we save the value before anyone can alter it
|
EID.isRepentancePlus = REPENTANCE_PLUS or FontRenderSettings ~= nil -- Repentance+ adds FontRenderSettings() class. We use this to check if the DLC is enabled. V1.9.7.7 added REPENTANCE_PLUS variable
|
||||||
EID.isRepentancePlus = FontRenderSettings ~= nil -- Repentance+ adds FontRenderSettings() class. We use this to check if the DLC is enabled
|
EID.isRepentance = REPENTANCE or EID.isRepentancePlus -- REPENTANCE variable can be altered by any mod, so we save the value before anyone can alter it. V1.9.7.7 removed REPENTANCE variable, so we additionally check for Rep+
|
||||||
|
|
||||||
require("eid_config")
|
require("eid_config")
|
||||||
EID.Config = EID.UserConfig
|
EID.Config = EID.UserConfig
|
||||||
|
|||||||
Reference in new issue
Block a user