Fix mods making REPENTANCE = false

This commit is contained in:
Buurazu authored and GitHub committed 2022-02-23 22:11:09 -05:00
1 parent ce5dc1daf0
commit cfa6f73932
1 file changed
+5
+5
View File
@@ -827,6 +827,11 @@ function EID:onGameUpdate()
EID.GameUpdateCount = EID.GameUpdateCount + 1 EID.GameUpdateCount = EID.GameUpdateCount + 1
EID:checkPlayersForMissingItems() EID:checkPlayersForMissingItems()
-- Fix some outdated mods erroneously setting the REPENTANCE constant to false
if EID.GameVersion == "rep" and REPENTANCE == false then
REPENTANCE = true
end
if collSpawned then if collSpawned then
collSpawned = false collSpawned = false