diff --git a/Corale.Colore/Core/NativeWrapper.cs b/Corale.Colore/Core/NativeWrapper.cs index f703939c..19da5f30 100644 --- a/Corale.Colore/Core/NativeWrapper.cs +++ b/Corale.Colore/Core/NativeWrapper.cs @@ -471,8 +471,8 @@ internal static void SetEffect(Guid guid) if (result) return; - if (result == Result.RzAccessDenied) - Log.Warn("Ambigous RzAccessDenied error thrown from call to native function SetEffect."); + if (result == Result.RzResourceDisabled || result == Result.RzAccessDenied) + Log.WarnFormat("Ambiguous {0} error thrown from call to native function SetEffect.", result); else throw new NativeCallException("SetEffect", result); }