private static void StartGame() { Main.PlaySound(10); string text = WorldSelect.WorldName(); if (text == null) { UI.main.SetMenu(MenuMode.WORLD_SIZE); return; } UI.main.SetMenu(MenuMode.STATUS_SCREEN); Main.worldName = text; WorldGen.playWorld(); }