Jump to content

Smart Battery can display tooltip for manual generator

  • Branch: Live Branch Version: Windows Pending

While modding, I ran into a problem with the interface class IActivationRangeTarget. Exploring this further, it turns out that it affects the unmodded smart battery too. It will presumably affect every single building, which replies on IActivationRangeTarget, but I will stick to the smart battery here.

The problem is that on load, it seems to fail to set the tooltip strings for the two sliders. Instead it displays the tooltip for the slider in the manual generator. It must be an init problem because changing a value or moving to a different building/gas/whatever and then click the battery again fixes the problem and once gone it appears to not come back until the next time you load a game.

Steps to Reproduce
Load a game. Click on a smart battery. Move the mouse to any of the sliders to get the tooltips.

User Feedback

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...