Skip to content

Commit

Permalink
Hotfix config change for dev setup at self.gameConfig._defaultGameRap…
Browse files Browse the repository at this point in the history
…idTag
  • Loading branch information
Beherith committed Jun 5, 2024
1 parent 1eef283 commit 0e0a1fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion LuaMenu/widgets/chobby/components/configuration.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,8 @@ function Configuration:GetDefaultGameName()
if self.gameConfig and self.gameConfig._defaultGameRapidTag then
rapidTag = self.gameConfig._defaultGameRapidTag
else
Spring.Log(LOG_SECTION, LOG.ERROR, "self.gameConfig._defaultGameRapidTag not present in Configuration:GetDefaultGameName()")
Spring.Log(LOG_SECTION, LOG.ERROR, "self.gameConfig._defaultGameRapidTag not present in Configuration:GetDefaultGameName(), using: Beyond All Reason $VERSION")
return "Beyond All Reason $VERSION"
end

if rapidTag and VFS.GetNameFromRapidTag then
Expand Down

0 comments on commit 0e0a1fb

Please sign in to comment.