Skip to content

Commit

Permalink
Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
JKLeckr committed Nov 26, 2024
1 parent 322c5fd commit b6a707d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Unity/ControlBoard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ void Awake() {
}

void Update() {
if (invincible != PlayerStatsManager.DebugInvincible)
if (invincible != PlayerStatsManager.DebugInvincible) {
PlayerStatsManager.DebugToggleInvincible();
Logging.Log($"[ControlBoard] Invincibility: {(PlayerStatsManager.DebugInvincible?"on":"off")}");
}
}

void OnEnable() {
Expand Down

0 comments on commit b6a707d

Please sign in to comment.