Fixed crashing at legacy versions

This commit is contained in:
acidicoala
2022-05-20 22:04:01 +03:00
parent 179be28097
commit 5afdd59044
2 changed files with 4 additions and 16 deletions

View File

@@ -90,7 +90,7 @@ namespace steam_functions {
const auto version_number = stoi(version_string.substr(prefix.length()));
if (version_number < min_version) {
util::panic("Unsupported old version of {}: {}", version_string, version_number);
logger->warn("Legacy version of {}: {}", version_string, version_number);
}
if (version_number > max_version) {