Closed midgleyc closed 11 months ago
Okay, that fixes the issue, but seems to break setting choice for wandered zones :/
You need this.propertyManager = propertyManager
as part of the constructor
If you have that, it shadows the grimoire-created one, which was already populated earlier in the constructor.
So, to be explicit about the issue:
Ideally I guess grimoire would expose a constructor for Engine that lets you pass in a property manager.
Obsoleted by #39.
Superceded by #39, but we should make the aforementioned grimoire changes long-term
The
super(tasks);
call in the constructor instantiates grimoire's defaultpropertyManager
that the declaredpropertyManager
was shadowing; this means that in the destructor,super.destruct();
actually destroyed the shadowed one instead of the default one, and the defaultSettings in grimoire were assigned and never removed.Among other things, this means that
logPreferenceChange
is set to true and never unset.Move things around so that shouldn't happen.