skip non-BB clients in 6xC8 handler

This commit is contained in:
Martin Michelsen
2025-11-30 17:30:44 -08:00
parent f26c543977
commit 800c70c401
+5
View File
@@ -4102,6 +4102,11 @@ static asio::awaitable<void> on_enemy_exp_request_bb(shared_ptr<Client> c, Subco
l->log.info_f("No client in slot {}", client_id);
continue;
}
if (lc->version() != Version::BB_V4) {
// EXP is handled on the client side in all non-BB versions
l->log.info_f("Client in slot {} is not BB", client_id);
continue;
}
if (base_exp != 0.0) {
// If this player killed the enemy, they get full EXP; if they tagged the