Skip to content

Commit 90d6643

Browse files
committed
Updated debug render
Used the color of the player collider for the blast zone since it makes more sense + we only render it when the boom box is on
1 parent d9f331e commit 90d6643

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Code/Entities/BoomBox.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,9 @@ public override void Update() {
174174

175175
public override void DebugRender(Camera camera) {
176176
base.DebugRender(camera);
177-
_boomCollider.Render(camera, Collidable ? Color.Red : Color.DarkRed);
177+
if (Activator.IsOn) {
178+
_boomCollider.Render(camera, Color.HotPink);
179+
}
178180
}
179181

180182
private void HandleAngryMode() {

0 commit comments

Comments
 (0)