[Bug 1.126] - Game crash when multiplying an exponent with a negative number

While modding the game I’ve noticed that the game will crash if you multiply x^decimal constant by a negative number such as -0.5. This happens both when the multiplication is being done in a mod or in the actual game CSVs. If the object that has this multiplication exists at the start of the game the game will crash while loading. If the object is created later on the GUI gets messed up missing the policy group border lines and having a white background.

This crashes the game:

Although using a minus instead works totally fine:

1 Like

does it work to delimit the multiplier? Like this:


1 Like

This issue seems to be part of a much bigger problem that I’ve outlined here:

1 Like