diff options
author | Vittorio Romeo <vittorio.romeo@outlook.com> | 2021-11-04 19:23:06 +0000 |
---|---|---|
committer | Vittorio Romeo <vittorio.romeo@outlook.com> | 2021-11-04 19:23:06 +0000 |
commit | 6020e52ac919bbd4e1eb19085cdb2e9c15d45cad (patch) | |
tree | db157f4c9cce1f61a7d12ddc9ede05aa2e849b92 | |
parent | 9021c2068d0d079237cf180f94482a57b19002c3 (diff) |
Shorten replay filename format
-rw-r--r-- | src/SSVOpenHexagon/Core/Replay.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SSVOpenHexagon/Core/Replay.cpp b/src/SSVOpenHexagon/Core/Replay.cpp index b8f2b6cd..313d9f11 100644 --- a/src/SSVOpenHexagon/Core/Replay.cpp +++ b/src/SSVOpenHexagon/Core/Replay.cpp @@ -416,8 +416,8 @@ static constexpr std::size_t buf_size{2097152}; // 2MB [[nodiscard]] std::string replay_file::create_filename() const { - return Utils::concat(_version, '_', _player_name, '_', _pack_id, '_', - _level_id, '_', _difficulty_mult, '_', _played_score, ".ohreplay"); + return Utils::concat(_version, '_', _player_name, '_', _level_id, '_', + _difficulty_mult, "x_", _played_score / 60.0, "s.ohreplay"); } [[nodiscard]] bool compressed_replay_file::serialize_to_file( |