Page 1 of 1

[1.7.2. Embers] Lua errors from Umbral horror's shadows

Posted: Mon Nov 09, 2020 12:37 pm
by rexorcorum
Got a Lua errors cascade when my Yeti Annihilator encountered some Umbral horror's shadows. The Yeti was mounted on the mechrachnid and it felt that was the source of the error.

Code: Select all

Lua Error: /mod/ai//shadow.lua:62: bad argument #3 to 'distance' (number expected, got nil)
  At [C]:-1 
  At [C]:-1 distance
  At /mod/ai//shadow.lua:62 shadowMoveToActorTarget
  At /mod/ai//shadow.lua:278 
  At /mod/class/interface/ActorAI.lua:73 doAI
  At /mod/class/NPC.lua:75 act
  At /engine/GameEnergyBased.lua:129 tickLevel
  At /engine/GameEnergyBased.lua:64 tick
  At /engine/GameTurnBased.lua:51 tick
  At /mod/class/Game.lua:1559 
And here is the longer error log: http://paste.net-core.org/uqelojobas.vhdl. Got the savegame as well, if it'll be needed.