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
@@ -826,6 +826,11 @@ EID.RecheckVoid = false
function EID:onGameUpdate()
EID.GameUpdateCount = EID.GameUpdateCount + 1
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
collSpawned = false