Open ttr opened 4 years ago
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.
https://github.com/DemolitionDerby/Hydrocraft/pull/72 for this and other
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.