diff --git a/Unity/Assets/_SecondSpawn/Editor/SecondSpawnBuildUtility.cs b/Unity/Assets/_SecondSpawn/Editor/SecondSpawnBuildUtility.cs index 0db2f330..ad33d7e3 100644 --- a/Unity/Assets/_SecondSpawn/Editor/SecondSpawnBuildUtility.cs +++ b/Unity/Assets/_SecondSpawn/Editor/SecondSpawnBuildUtility.cs @@ -36,7 +36,7 @@ public static void BuildLinuxDedicatedServer() locationPathName = Path.Combine(outputDirectory, "SecondSpawnServer.x86_64"), target = BuildTarget.StandaloneLinux64, subtarget = (int)StandaloneBuildSubtarget.Server, - options = BuildOptions.Development | BuildOptions.EnableHeadlessMode + options = BuildOptions.Development }; var report = BuildPipeline.BuildPlayer(options); diff --git a/Unity/Assets/_SecondSpawn/Scripts/AI/PrototypeNearbyNpcChatBox.cs b/Unity/Assets/_SecondSpawn/Scripts/AI/PrototypeNearbyNpcChatBox.cs index 9aec3ca5..96c65cbd 100644 --- a/Unity/Assets/_SecondSpawn/Scripts/AI/PrototypeNearbyNpcChatBox.cs +++ b/Unity/Assets/_SecondSpawn/Scripts/AI/PrototypeNearbyNpcChatBox.cs @@ -217,7 +217,7 @@ private static bool IsRuntimeUgUiPanelActive() s_nextRuntimeUgUiPanelProbeTime = Time.unscaledTime + RuntimeUgUiPanelProbeIntervalSeconds; s_runtimeUgUiPanelActive = false; - foreach (var behaviour in FindObjectsByType(FindObjectsInactive.Exclude, FindObjectsSortMode.None)) + foreach (var behaviour in FindObjectsByType(FindObjectsInactive.Exclude)) { if (behaviour != null && behaviour.GetType().FullName == "SecondSpawn.UI.NearbyNpcChatPanel") {