mirror of
https://github.com/acidicoala/SmokeAPI.git
synced 2026-05-02 10:32:14 -04:00
Fixed crashing at legacy versions
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user