Timberborn-Modding-Central / TimberAPI

The one and only
https://timberapi.com
GNU Lesser General Public License v2.1
33 stars 17 forks source link

Fixed priority highlighting #84

Closed KYPremco closed 1 year ago

KYPremco commented 1 year ago

The building priority highlighting stayed open after going out of the group with right mouse click. The priority highlight got removed if you have a priority tool active and manually open another group.

Changed switching behaviour of tool so that in the ExitToolGroup event will be called twice now with the ExitingToolGroup and the toolgroup that is closed. It is not optimal usage but will give less restrictions on ToolGroup behaviour based on ExitingToolGroup.