IGame.WriteToConsole() will throw exception when trying to print enum values
Posted: Wed Mar 25, 2020 7:45 am
You should be able to print out enum values without having to call ToString(). Code to reproduce:
Code: Select all
enum E { One, Two, Three }
public void OnStartup()
{
Game.WriteToConsole(E.One); // not working
Game.WriteToConsole(E.One.ToString()); // works
}