Force Redraw of UI?

Started by Trinityx, August 06, 2021, 06:04:33 PM

Previous topic - Next topic

Trinityx

Hey All,

I'm currently adding a mod menu, it mostly works (i know what i need to do to finish things) however I'm currently hanging on trying to get my power consumption setting to work.

Once I've modified the Power Consumption (Eg: 2000 W) it will remain on the default value in the xml (1000 W), the setting does work when I click information under Building > Power Consumption but the game wont recognize until I've rebuilt it or reopened the save - any way I can force the game to redraw the box or building? Or am I tackling this all wrong?

Any help would be appreciated!