Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ttr opened this issue Mar 21, 2020 · 1 comment
Open

Comments

@ttr
Copy link

ttr commented Mar 21, 2020

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
Copy link
Author

ttr commented Apr 5, 2020

#72 for this and other

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant