Skip to content

Commit

Permalink
Fixed crashing at legacy versions
Browse files Browse the repository at this point in the history
  • Loading branch information
acidicoala committed May 20, 2022
1 parent 179be28 commit 5afdd59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
18 changes: 3 additions & 15 deletions .idea/cmake.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/steam_functions/steam_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5afdd59

Please sign in to comment.