Hydrocraft icon indicating copy to clipboard operation
Hydrocraft copied to clipboard

[pz41-beta1] unplugging solar generator is not removing power supply/grid

Open ttr opened this issue 4 years ago • 1 comments

Hi, in PZ41 (and possibly in pz40) when solar generator is disconnected / unplugged, electricity grid is not updated so all devices still have power (until game reload).

This looks to be missing definition of 'NewGenerator:setSurroundingElectricity();' in https://github.com/DemolitionDerby/Hydrocraft/blob/c39a8dad2f0f2b02a5558b529e46467d776615d2/media/lua/client/Solar/solar.lua#L14 (after SetActivated(false)) as adding it did solve this.

ttr avatar Mar 21 '20 21:03 ttr

https://github.com/DemolitionDerby/Hydrocraft/pull/72 for this and other

ttr avatar Apr 05 '20 18:04 ttr