Skip to content

Commit

Permalink
Change log to only run in debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed May 14, 2024
1 parent 08d161f commit 5a84b23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Fika.Core/Coop/Players/CoopBot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,9 @@ private IEnumerator WaitForPlayersToLoadBot()
AIData.BotOwner.BotState = EBotState.PreActive;
isStarted = true;
yield return new WaitUntil(() => { return MovementContext.IsGrounded; });
FikaPlugin.Instance.FikaLogger.LogWarning($"{gameObject.name} is now grounded, started at Y: {randomY}, now at {Position.ToStringVerbose()}");
#if DEBUG
FikaPlugin.Instance.FikaLogger.LogWarning($"{gameObject.name} is now grounded, started at Y: {randomY}, now at {Position.ToStringVerbose()}");
#endif
ActiveHealthController.SetDamageCoeff(originalDamageCoeff);
}

Expand Down

0 comments on commit 5a84b23

Please sign in to comment.