Some Cleanups

This commit is contained in:
hondacrx
2021-06-07 18:06:16 -04:00
parent cb7640e3c6
commit 302a1f293c
53 changed files with 382 additions and 477 deletions
+1 -1
View File
@@ -299,7 +299,7 @@ namespace Game.Combat
return; // typical causes: bad scripts trying to add threat to GMs, dead targets etc
// ok, we're now in combat - create the threat list reference and push it to the respective managers
ThreatReference newRefe = new ThreatReference(this, target, amount);
ThreatReference newRefe = new(this, target, amount);
PutThreatListRef(target.GetGUID(), newRefe);
target.GetThreatManager().PutThreatenedByMeRef(_owner.GetGUID(), newRefe);
if (!newRefe.IsOffline() && !_ownerEngaged)