Core: SOme code cleanup, more to follow.
This commit is contained in:
@@ -42,7 +42,7 @@ namespace Game
|
||||
if (GetPlayer().IsValidAttackTarget(player))
|
||||
return;
|
||||
|
||||
InspectResult inspectResult = new InspectResult();
|
||||
InspectResult inspectResult = new();
|
||||
inspectResult.DisplayInfo.Initialize(player);
|
||||
|
||||
if (GetPlayer().CanBeGameMaster() || WorldConfig.GetIntValue(WorldCfg.TalentsInspecting) + (GetPlayer().GetTeamId() == player.GetTeamId() ? 1 : 0) > 1)
|
||||
|
||||
Reference in New Issue
Block a user