Skip to content

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

Description

@ttr

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions