Skip to content

Commit

Permalink
Prevent duplicate warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lanyizi authored and Tarcontar committed Jan 23, 2021
1 parent e57de69 commit fc9234d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/OpenSage.Game/Logic/Object/GameObjectCollection.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using System.Linq;
using OpenSage.Diagnostics.Util;

namespace OpenSage.Logic.Object
{
Expand All @@ -18,7 +19,7 @@ public sealed class GameObjectCollection : DisposableBase

public IEnumerable<GameObject> Items => _items.Values;

private static readonly NLog.Logger Logger = NLog.LogManager.GetCurrentClassLogger();
private static readonly DistinctLogger Logger = new(NLog.LogManager.GetCurrentClassLogger());

internal GameObjectCollection(
GameContext gameContext,
Expand Down

0 comments on commit fc9234d

Please sign in to comment.