raiguard / Krastorio2

An overhaul mod for Factorio focusing on end-game technologies and moderately increased complexity.
https://mods.factorio.com/mod/Krastorio2
GNU Lesser General Public License v3.0
131 stars 50 forks source link

Crash with Tesla coil #154

Closed gabfv closed 2 years ago

gabfv commented 2 years ago

Description

Crash with Tesla coil when trying to charge grid equipment:

Error while running event Krastorio2::on_script_trigger_effect (ID 152)
Given entity doesn't exist anymore.
stack traceback:
    [C]: in function 'create_entity'
    __Krastorio2__/scripts/tesla-coil.lua:176: in function 'add_connection'
    __Krastorio2__/scripts/tesla-coil.lua:277: in function 'process_explosion'
    __Krastorio2__/control.lua:364: in function <__Krastorio2__/control.lua:362>"

factorio-current.log _autosave16.zip

Reproduction

  1. Put an Energy Absorber in your grid equipment.
  2. Get near a Tesla coil.
  3. Crash happens.

Factorio version

1.1.50

In-game username

Synthe6

raiguard commented 2 years ago

Duplicate of #144