-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Versions
- Game: 1.5.1.8
- MSU: 1.7.2
Describe the bug
in the colorizeValue function there is actually no guarantee, what the type of the returned value is.
You would think it to be always a string, but in the marked path (see image), it can also be equal to the type of the input value.
To Reproduce
Steps to reproduce the behavior:
- Start the game with the "Dev Console" mod
- While in the main menu, open the console
- Type this into the console:
return format("%s", ::MSU.Text.colorizeValue(0)) - See error
Expected behavior
Whenever colorizeValue returns a value, that value must be of the type "string"
Screenshots
Log
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working