Skip to content

Commit

Permalink
fix unknown (1) in game version
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Dec 2, 2024
1 parent 0459c4b commit a85d66a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/LevelMetadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ std::string LevelMetadata::getGameVersionName(int version){

if(version > 17){
return fmt::format("{:.1f}", (double)version / 10.0);
}else if(version > 1 && version < 10){
}else if(version > 0 && version < 10){
return fmt::format("1.{}", version - 1);
}

Expand Down

0 comments on commit a85d66a

Please sign in to comment.