diff options
| -rw-r--r-- | bot/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/src/main.cpp b/bot/src/main.cpp index 8007998..1edac34 100644 --- a/bot/src/main.cpp +++ b/bot/src/main.cpp @@ -18,7 +18,7 @@ dpp::activity_type activity_type_from_string(const std::string& type) { } else if (type == "competing") { return dpp::activity_type::at_competing; } else { - throw std::invalid_argument("Invalid activity type"); + return dpp::activity_type::at_game; // Default to "playing" if the type is unknown } } |
