This happens when I select the escort tab in the control GUI while I'm actually on a different surface. Escort does not make sense in this case, of course.
Error while running event vehicle--rts-control::on_gui_selected_tab_changed (ID 170)
LuaEntity belongs to surface vulcanus (index 9) but a LuaEntity belonging to surface gleba (index 2) was expected.
stack traceback:
[C]: in function 'draw_arc'
...icle--rts-control__/scripts/gui/vehicles/follow_tab.lua:585: in function 'update_preview'
...icle--rts-control__/scripts/gui/vehicles/follow_tab.lua:779: in function 'enter_config_mode'
__vehicle--rts-control__/scripts/gui/vehicles/events.lua:923: in function 'on_gui_selected_tab_changed'
vehicle-_-rts-control/scripts/events/gui_events.lua:158: in function <vehicle-_-rts-control/scripts/events/gui_events.lua:152>