Skip to content

Commit

Permalink
Wait for fixed update before enabling damage on bot
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed May 15, 2024
1 parent 45b61fd commit 0ace3ad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Fika.Core/Coop/Players/CoopBot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ private IEnumerator WaitForPlayersToLoadBot()
#if DEBUG
FikaPlugin.Instance.FikaLogger.LogWarning($"{gameObject.name} is now grounded, started at Y: {randomY}, now at {Position.ToStringVerbose()}");
#endif
yield return new WaitForFixedUpdate();
ActiveHealthController.SetDamageCoeff(originalDamageCoeff);
}

Expand Down

0 comments on commit 0ace3ad

Please sign in to comment.