summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/menu
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/rustanddust/menu')
-rw-r--r--core/src/ch/asynk/rustanddust/menu/NewGameMenu.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/menu/NewGameMenu.java b/core/src/ch/asynk/rustanddust/menu/NewGameMenu.java
index 4ce9f69..a7002fb 100644
--- a/core/src/ch/asynk/rustanddust/menu/NewGameMenu.java
+++ b/core/src/ch/asynk/rustanddust/menu/NewGameMenu.java
@@ -45,7 +45,7 @@ public class NewGameMenu extends Patch implements MenuCtrl.Panel
if (game.config.battle == null)
game.config.battle = game.factory.battles[0];
for (int i = 0; i < game.factory.battles.length; i++) {
- battleValue.write(game.config.battle.getName());
+ battleValue.write(game.factory.battles[i].getName());
if (battleWidth < battleValue.getWidth())
battleWidth = battleValue.getWidth();
if (game.config.battle == game.factory.battles[i])