The mod Subsurface - build beneath your base! (1.1.10) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event Subsurface::on_tick (ID 0)
Error when running interface function aai-programmable-vehicles.set_unit_command: Error when running interface function subsurface.on_unit_change_mode: core/lualib/math2d.lua:33: attempt to index local 'pos' (a nil value)
stack traceback:
core/lualib/math2d.lua:33: in function 'ensure_xy'
core/lualib/math2d.lua:44: in function 'distance_squared'
core/lualib/math2d.lua:52: in function 'distance'
Subsurface/scripts/aai-miners.lua:60: in function <Subsurface/scripts/aai-miners.lua:45>
(...tail calls...)
stack traceback:
[C]: in function 'call'
aai-programmable-vehicles/control.lua:120: in function 'raise_event'
aai-programmable-vehicles/control.lua:1395: in function 'unit_set_mode'
aai-programmable-vehicles/control.lua:2683: in function <aai-programmable-vehicles/control.lua:2483>
stack traceback:
[C]: in function 'call'
Subsurface/scripts/aai-miners.lua:95: in function 'handle_miners'
Subsurface/control.lua:461: in function <Subsurface/control.lua:361>