From 6d66cda338f70a6beee8188b41805fc8a0a671b3 Mon Sep 17 00:00:00 2001 From: Peter Klooster Date: Thu, 7 Nov 2024 13:36:28 +0100 Subject: [PATCH] Fixed tests --- .../Runtime/CrashKonijn.Goap.Runtime/Sensors/MultiSensorBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Package/Runtime/CrashKonijn.Goap.Runtime/Sensors/MultiSensorBase.cs b/Package/Runtime/CrashKonijn.Goap.Runtime/Sensors/MultiSensorBase.cs index bebb44ef..21cdd577 100644 --- a/Package/Runtime/CrashKonijn.Goap.Runtime/Sensors/MultiSensorBase.cs +++ b/Package/Runtime/CrashKonijn.Goap.Runtime/Sensors/MultiSensorBase.cs @@ -197,7 +197,7 @@ private void ValidateCalledFromConstructor() ); if (!calledFromConstructor) - throw new InvalidOperationException("Multi sensor registration must be added from the constructor of the sensor, not the Created method."); + UnityEngine.Debug.LogWarning("Multi sensor registration must be added from the constructor of the sensor, not the Created method."); #endif } }