raiguard / EditorExtensions

Extends the Factorio map editor with new features, testing tools, and other utilities to aid with sandbox play and scenario creation.
https://mods.factorio.com/mod/EditorExtensions
Other
26 stars 6 forks source link

TaskList crash when loading a save #141

Closed sorahn closed 1 year ago

sorahn commented 1 year ago

Description

The mod Task List (0.4.6) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event TaskList::on_configuration_changed
Error when running interface function EditorExtensions.get_player_proper_force: __EditorExtensions__/scripts/testing-lab.lua:315: attempt to index field '?' (a nil value)
stack traceback:
    __EditorExtensions__/scripts/testing-lab.lua:315: in function <__EditorExtensions__/scripts/testing-lab.lua:306>
stack traceback:
    [C]: in function 'call'
    __TaskList__/scripts/util.lua:19: in function 'get_force'
    __TaskList__/scripts/gui/tasks/index.lua:342: in function 'new'
    __TaskList__/scripts/player-data.lua:34: in function 'refresh'
    __TaskList__/scripts/migrations.lua:7: in function 'generic'
    __TaskList__/control.lua:92: in function <__TaskList__/control.lua:90>

Reproduction

  1. Load save file.
  2. Observe Crash

Space Exploration - Editor.zip