Getting an error popup on every turn

Make all T-Engine/ToME 4 bug reports here

Moderator: Moderator

Post Reply
Message
Author
geroko
Low Yeek
Posts: 6
Joined: Tue Feb 07, 2023 7:13 am

Getting an error popup on every turn

#1 Post by geroko »

Every game turn im getting an error popup, here it is copied from the log:

Lua Error: /data/timed_effects/physical.lua:3604: bad argument #1 to 'distance' (number expected, got nil)
At [C]:-1
At [C]:-1 distance
At /data/timed_effects/physical.lua:3604 on_timeout
At /engine/interface/ActorTemporaryEffects.lua:97 timedEffects
At /mod/class/NPC.lua:304 timedEffects
At /mod/class/Actor.lua:633 actBase
At /engine/GameEnergyBased.lua:119 tickLevel
At /engine/GameEnergyBased.lua:64 tick
At /engine/GameTurnBased.lua:51 tick
At /mod/class/Game.lua:1582

Found a few bug threads with the same issue but no solutions. My character is not in combat and has no status effects or sustains active. Anyone know how to fix this?

geroko
Low Yeek
Posts: 6
Joined: Tue Feb 07, 2023 7:13 am

Re: Getting an error popup on every turn

#2 Post by geroko »

Leaving the zone fixed it, didnt think of that until now

Post Reply