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

Crash when opening manifesto in IR3 #100

Closed ajklotz closed 1 year ago

ajklotz commented 1 year ago

Description

This was originally filed in the IR3 repo but identified as as EE problem. Opening issue here for tracking purposes.

Describe the bug I came out of editor extension, and pushed I, manifesto.

Factorio version, IR version IR3 3.0.12 Factorio 1.1.76

The mod Industrial Revolution 3 (3.0.12) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event IndustrialRevolution3::ir-manifesto (ID 206)
The mod Editor Extensions (1.13.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event EditorExtensions::on_force_reset (ID 105)
__EditorExtensions__/control.lua:485: attempt to index local 'force' (a nil value)
stack traceback:
    __EditorExtensions__/control.lua:485: in function <__EditorExtensions__/control.lua:474>
stack traceback:
    [C]: in function 'reset'
    ...lution3__/code/control/control-simulated-simulations.lua:37: in function 'build_sim_surface'
    ...lution3__/code/control/control-simulated-simulations.lua:148: in function 'get_or_create_sim_surface'
    ...lution3__/code/control/control-simulated-simulations.lua:159: in function 'add_sim_camera_element'
    ...rialRevolution3__/code/control/control-documentation.lua:81: in function '?'
    ...rialRevolution3__/code/control/control-documentation.lua:408: in function <...rialRevolution3__/code/control/control-documentation.lua:275>

Reproduction

No response

raiguard commented 1 year ago

This has been fixed for 2.0.