Add missing alert round for ranged attacks

This commit is contained in:
nytmyr committed 2024-12-12 22:14:10 -06:00
1 parent 693abdd42c
commit 1aa71598a0
1 file changed
+2 -1
+2 -1
View File
@@ -1841,7 +1841,8 @@ bool Bot::BotRangedAttack(Mob* other, bool CanDoubleAttack) {
) {
if (!Ammo || ammoItem->GetCharges() < 1) {
if (!GetCombatRoundForAlerts()) {
GetOwner()->Message(Chat::Yellow, "I do not have enough any ammo.");
SetCombatRoundForAlerts();
BotGroupSay(this, "I do not have enough any ammo!");
}
}