[Bug Fix] Clear Ramp when Clearing hate (#3892)

* [Bug Fix] Clear Ramp when Clearing hate

When clearing a client from the hatelist, also clear them from ramp

* Add additional calls missed

* requested changes

* extra tabs
This commit is contained in:
Fryguy authored and GitHub committed 2024-01-07 15:27:12 -05:00
1 parent fc8ace91cb
commit 84b8bdd2b4
6 files changed
+68 -9

No files matched your search

+1
View File
@@ -2119,6 +2119,7 @@ bool NPC::Attack(Mob* other, int Hand, bool bRiposte, bool IsStrikethrough, bool
}
RemoveFromHateList(other);
RemoveFromRampageList(other);
LogCombat("I am not allowed to attack [{}]", other->GetName());
return false;
}