Skip to content

Crash when handling trains on a space elevator #231

@agmlego

Description

@agmlego

This happened immediately as an elevator completed its first cable, allowing the waiting trains to transit it.

Error MainLoop.cpp:1391: Exception at tick 96689278: The mod Space Exploration (0.6.119) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event space-exploration::on_tick (ID 0)
The mod LTN Manager (0.4.23) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event LtnManager::on_train_created (ID 68)
LtnManager/scripts/ltn-data.lua:1224: attempt to index local 'trains' (a nil value)
stack traceback:
LtnManager/scripts/ltn-data.lua:1224: in function 'migrate_train'
LtnManager/scripts/ltn-data.lua:1241: in function <LtnManager/scripts/ltn-data.lua:1237>
stack traceback:
[C]: in function 'create_entity'
space-exploration/scripts/space-elevator.lua:696: in function 'space_elevator_teleport_next'
space-exploration/scripts/space-elevator.lua:1374: in function 'space_elevator_tick'
space-exploration/scripts/space-elevator.lua:1402: in function 'callback'
space-exploration/scripts/event.lua:15: in function <space-exploration/scripts/event.lua:13>

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions