Skip to content

Commit

Permalink
add a copyright text to the main menu
Browse files Browse the repository at this point in the history
  • Loading branch information
quasilyte committed Apr 2, 2024
1 parent f4199f7 commit b143ef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/gamedata/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ const SeasonNumber = 1
// - Credits is now a multi-page screen with a larger font
// - Stats & Progress screens now use a larger font
// - Add rand drones build button to the lobby
// - Add a copyright text to the main menu
const (
BuildNumber int = 25
BuildMinorNumber int = 0
Expand Down
2 changes: 1 addition & 1 deletion src/scenes/menus/mainmenu.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (c *MainMenuController) initUI() {
buildVersion += "." + strconv.Itoa(gamedata.BuildMinorNumber)
}

buildLabel := fmt.Sprintf("%s %s", d.Get("menu.main.build"), buildVersion)
buildLabel := fmt.Sprintf("%s %s (C) quasilyte tech", d.Get("menu.main.build"), buildVersion)
if buildinfo.Distribution != buildinfo.TagUnknown {
buildLabel += " [" + buildinfo.Distribution + "]"
}
Expand Down

0 comments on commit b143ef9

Please sign in to comment.