Skip to content

Commit a35e8e4

Browse files
committed
Made the mod selection title match the button.
1 parent 0a7aea4 commit a35e8e4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

LuaMenu/widgets/chobby/components/game_list_window.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
GameListWindow = ListWindow:extends{}
22

3-
function GameListWindow:init(failFunction, sucessFunction, blacklist)
3+
function GameListWindow:init(failFunction, sucessFunction, blacklist, titleOverride)
44

5-
self:super('init', WG.Chobby.lobbyInterfaceHolder, "Select Game", false, "main_window", nil, {6, 7, 7, 4})
5+
self:super('init', WG.Chobby.lobbyInterfaceHolder, titleOverride or "Select Game", false, "main_window", nil, {6, 7, 7, 4})
66
self.window:SetPos(nil, nil, 500, 700)
77

88
for i, archive in pairs(VFS.GetAllArchives()) do

LuaMenu/widgets/gui_modoptions_panel.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ local function CreateModoptionWindow()
392392
end
393393

394394
local Configuration = WG.Chobby.Configuration
395-
WG.Chobby.GameListWindow(SetGameFail, SetGameSucess, Configuration and Configuration.gameConfig.modBlacklist)
395+
WG.Chobby.GameListWindow(SetGameFail, SetGameSucess, Configuration and Configuration.gameConfig.modBlacklist, i18n("select_mod"))
396396
end
397397

398398
local function AcceptFunc()

0 commit comments

Comments
 (0)