[Bug Fix] When Mounts are allowed to zone, block them from zoning to disallowed zones. (#4330)

This commit is contained in:
Fryguy
2024-05-25 18:03:23 -04:00
committed by GitHub
parent c56742a2a8
commit 34ae3094d6
+1 -1
View File
@@ -679,7 +679,7 @@ void Client::CompleteConnect()
break;
}
case SE_SummonHorse: {
if (RuleB(Character, PreventMountsFromZoning)) {
if (RuleB(Character, PreventMountsFromZoning) || !zone->CanCastOutdoor()) {
BuffFadeByEffect(SE_SummonHorse);
} else {
SummonHorse(buffs[j1].spellid);