Skip to content

Commit

Permalink
fix: fixing logger for id generator using nameof instead of typeof
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Frowen committed Apr 14, 2022
1 parent 5ea84d5 commit 3665b80
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Assets/Mirage/Runtime/NetworkIdentityIdGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
using UnityEngine;
using Mirage.Logging;



using UnityEditor;

#if UNITY_2021_2_OR_NEWER
Expand All @@ -19,7 +17,7 @@ namespace Mirage
{
internal static class NetworkIdentityIdGenerator
{
static readonly ILogger logger = LogFactory.GetLogger(nameof(NetworkIdentityIdGenerator));
static readonly ILogger logger = LogFactory.GetLogger(typeof(NetworkIdentityIdGenerator));

/// <summary>
/// Keep track of all sceneIds to detect scene duplicates
Expand Down

0 comments on commit 3665b80

Please sign in to comment.