GTX2GvO / wireless_charging

The 0.17 continuation of mknejp Wireless Charging mod
MIT License
2 stars 2 forks source link

Deconstruct charge pad #2

Closed s-lindenau closed 5 years ago

s-lindenau commented 5 years ago

When deconstructing a charge pad (by hand or deconstruct blueprint), the hidden accumulator + indicator fluidbox remain in the game. These should be destroyed on deconstruct.

GTX2GvO commented 5 years ago

Noticed in main.lua on line 326 it states "on_preplayer_mined_item". Should be "on_pre_player_mined_item".

Was one of the things I noticed in control.lua before you joined. Guess I didn't check beyond that for any instances. Was changed between Factorio 0.15 and 0.16. Should hopefully fix both player decon issues.

s-lindenau commented 5 years ago

Works very well now! Will close this issue after multiplayer testing confirms everything is OK.

s-lindenau commented 5 years ago

Fixed in 0.17.5