Skip to content

Commit

Permalink
Logger: Fix game build not setting unless in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Parik27 committed Dec 23, 2022
1 parent 5eae14d commit 0eefea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/logger.cc
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ class DisplayBuildVersion
AppendBuildVersion (char *out, char const *format, char *build,
char *version)
{
#ifndef NDEBUG
sg_GameBuild = std::stoi (version);
Logger::LogMessage("Set Game Build to %d", sg_GameBuild);

#ifndef NDEBUG
return rage__formatf6eb9 (out, "Rainbomizer Build %d Build %s",
RAINBOMIZER_BUILD_NUMBER + 1, version);
#else
Expand Down

0 comments on commit 0eefea5

Please sign in to comment.