From daef8dbe122ef83a9e7b3e076ba4beebc013d862 Mon Sep 17 00:00:00 2001
From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54>
Date: Thu, 28 Oct 2010 12:01:57 +0000
Subject: [PATCH] New Game dialog will autoselect the first game

git-svn-id: http://svn.net-core.org/repos/t-engine4@1676 51575b47-30f0-44d4-a5cc-537603b46e54
---
 game/engines/default/modules/boot/dialogs/NewGame.lua | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/game/engines/default/modules/boot/dialogs/NewGame.lua b/game/engines/default/modules/boot/dialogs/NewGame.lua
index c1efc0c323..88d9b18446 100644
--- a/game/engines/default/modules/boot/dialogs/NewGame.lua
+++ b/game/engines/default/modules/boot/dialogs/NewGame.lua
@@ -50,6 +50,8 @@ function _M:init()
 	self:setFocus(self.c_list)
 	self:setupUI()
 
+	self:select(self.list[1])
+
 	self.key:addBinds{
 		EXIT = function() game:unregisterDialog(self) end,
 	}
-- 
GitLab