From cb36eb44038ac8884a9eaae877b5d013da58b68a Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Fri, 5 Aug 2022 16:56:04 -0700 Subject: [PATCH] format --- NewHorizons/Handlers/StreamingHandler.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/NewHorizons/Handlers/StreamingHandler.cs b/NewHorizons/Handlers/StreamingHandler.cs index 56d455a6..fd2a8858 100644 --- a/NewHorizons/Handlers/StreamingHandler.cs +++ b/NewHorizons/Handlers/StreamingHandler.cs @@ -1,7 +1,6 @@ using System.Collections.Generic; using System.Linq; using UnityEngine; -using Logger = NewHorizons.Utility.Logger; namespace NewHorizons.Handlers { @@ -101,11 +100,11 @@ namespace NewHorizons.Handlers public static bool IsBundleInUse(string assetBundle) { // If a sector in the list is null then it is always in use - if(_sectorCache.TryGetValue(assetBundle, out var sectors)) + if (_sectorCache.TryGetValue(assetBundle, out var sectors)) foreach (var sector in sectors) - if (sector == null || sector.ContainsAnyOccupants(DynamicOccupant.Player | DynamicOccupant.Probe)) + if (sector == null || sector.ContainsAnyOccupants(DynamicOccupant.Player | DynamicOccupant.Probe)) return true; - return false; + return false; } } } \ No newline at end of file