The fix is fairly simple (shown below), but I am not 100% certain this is NOT a bug caused by my table.merge changes. I'll probably test this in b37 to check.Lua Error: /data/timed_effects/other.lua:435: attempt to index field '_chronoworlds' (a nil value)
At [C]:-1 __newindex
At /data/timed_effects/other.lua:435
At /engine/Game.lua:231 onTickEndExecute
At /engine/Game.lua:222 tick
At /engine/GameTurnBased.lua:42 tick
At /mod/class/Game.lua:902
Code: Select all
diff --git a/game/modules/tome/data/timed_effects/other.lua b/game/modules/tome/data/timed_effects/other.lua
index a38ffb5..973c10b 100644
--- a/game/modules/tome/data/timed_effects/other.lua
+++ b/game/modules/tome/data/timed_effects/other.lua
@@ -432,6 +432,7 @@ newEffect{
-- Move back in time, but keep the paradox_future world stored
game:chronoRestore("paradox_past", true)
+ game._chronoworlds = game._chronoworlds or {}
game._chronoworlds["paradox_future"] = clone
game.logPlayer(self, "#LIGHT_BLUE#You've been pulled into the past!")
-- pass health and resources into the new timeline