Core: SOme code cleanup, more to follow.

This commit is contained in:
hondacrx
2021-03-20 22:48:48 -04:00
parent 62f554f2e0
commit 62ec699ec6
318 changed files with 5080 additions and 5125 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ namespace Game
if (!player)
return;
CanDuelResult response = new CanDuelResult();
CanDuelResult response = new();
response.TargetGUID = packet.TargetGUID;
response.Result = player.duel == null;
SendPacket(response);
@@ -73,7 +73,7 @@ namespace Game
player.duel.startTimer = now;
plTarget.duel.startTimer = now;
DuelCountdown packet = new DuelCountdown(3000);
DuelCountdown packet = new(3000);
player.SendPacket(packet);
plTarget.SendPacket(packet);