Swapping to a platform that is stationary around a planet (I don't have one currently in motion to check) causes a crash with the following error:
1302.781 Error MainLoop.cpp:1435: Exception at tick 24020689: The mod Space Platform ETA (0.1.0) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event SpacePlatformETA::on_nth_tick(30)
LuaSpacePlatform doesn't contain key distance.
stack traceback:
[C]: in function '__index'
__SpacePlatformETA__/scripts/ship-stats-gui.lua:27: in function 'get_eta'
__SpacePlatformETA__/scripts/ship-stats-gui.lua:75: in function 'update'
__SpacePlatformETA__/control.lua:37: in function <__SpacePlatformETA__/control.lua:34>
I honestly have no idea what the deal is here. The field is clearly documented in the LuaSpacePlatform spec, and you're just nil-checking it at that line anyway. I tried adding a platform.valid and condition before it, under the assumption that it might be because a platform was invalid (I think that's considered good practice), but that didn't work either.