diff --git a/Assets/Vendors/aimlbot.net/Bot.cs b/Assets/Vendors/aimlbot.net/Bot.cs index 91b9763..b881d0c 100644 --- a/Assets/Vendors/aimlbot.net/Bot.cs +++ b/Assets/Vendors/aimlbot.net/Bot.cs @@ -74,7 +74,7 @@ public void WriteToLog(string message) } } - if (!Equals(null, WrittenToLog)) WrittenToLog(); + WrittenToLog?.Invoke(); } #endregion