From f455c7f6e0987b47ac256fee14fd7794cf7d5e05 Mon Sep 17 00:00:00 2001 From: tudor <7089284+tudddorrr@users.noreply.github.com> Date: Sat, 21 Mar 2026 19:07:39 +0000 Subject: [PATCH] ensure test mode only runs in the unity editor --- Assets/Talo Game Services/Talo/Runtime/Talo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Talo Game Services/Talo/Runtime/Talo.cs b/Assets/Talo Game Services/Talo/Runtime/Talo.cs index e00efe3..3abb680 100644 --- a/Assets/Talo Game Services/Talo/Runtime/Talo.cs +++ b/Assets/Talo Game Services/Talo/Runtime/Talo.cs @@ -218,7 +218,7 @@ public static bool IsOffline() internal static bool CheckTestMode() { -#if UNITY_EDITOR || DEBUG +#if UNITY_EDITOR var assembly = AppDomain.CurrentDomain.GetAssemblies() .FirstOrDefault((assembly) => assembly.FullName.ToLowerInvariant().StartsWith("nunit.framework"));