This happened when renaming a station from Day's Heat
to Day's Heat All
. Error dialog, then quit-to-menu, twice over.
(Note: there were three stations named `Day's Heat, one with a train).
3273.573 Error MainLoop.cpp:943: Exception at tick 4413561: Error while running event train-controller::on_entity_renamed (ID 57)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
__train-controller__/control.lua:100: in function <__train-controller__/control.lua:92>