Reproduction
- Put this in Game.cs
public class Game : BaseGame
{
// ...
class Kaboom
{
public string Stuff;
}
private int _testField;
public override void Startup()
{
// ...
_testField = 123;
// ...
}
// ...
}
- Start Mocha, wait for the game to start
- Change
to
private Kaboom _testField;
and remove the _testField = 123; line from Startup() so that it will compile
4. Save Game.cs to trigger a hotload
5. Kaboom
