Timberborn-Modding-Central / TimberAPI

The one and only
https://timberapi.com
GNU General Public License v3.0
32 stars 18 forks source link

Fixed BuildingSpecification #77

Closed KYPremco closed 1 year ago

KYPremco commented 1 year ago

The load order changed of the BuildingChangeApplier after the bottombar feature has been introduced. Solved it by moving the ToolService, ToolGroupService and BottomBarService into LateLoadableSingletons.

Only compromise is that you cannot use the ToolGroupService & ToolService in a LoadableSingleton. As an extra this also solved the weird dependency fix requirement.