Skip to content

Commit f312c55

Browse files
authored
Merge pull request #11 from Tatsi01/SokobanSound
Added sound effects to non return sokobans
2 parents a3c4e22 + 56f8d58 commit f312c55

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Code/Entities/NonReturnSokoban.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ public bool CanActivate(Vector2 direction)
339339

340340
public void Attack(Vector2 direction)
341341
{
342-
Audio.Play("event:/game/06_reflection/Sokoban_activate", Center);
342+
Audio.Play("event:/game/06_reflection/crushblock_activate", Center);
343343
bool flag = this.currentMoveLoopSfx != null;
344344
if (flag)
345345
{
@@ -352,7 +352,7 @@ public void Attack(Vector2 direction)
352352
}
353353
Add(this.currentMoveLoopSfx = new SoundSource());
354354
this.currentMoveLoopSfx.Position = new Vector2(Width, Height) / 2f;
355-
this.currentMoveLoopSfx.Play("event:/game/06_reflection/Sokoban_move_loop", null, 0f);
355+
this.currentMoveLoopSfx.Play("event:/game/06_reflection/crushblock_move_loop", null, 0f);
356356
this.face.Play("hit", false, false);
357357
this.crushDir = direction;
358358
this.canActivate = false;
@@ -669,7 +669,7 @@ private IEnumerator AttackSequence()
669669
}
670670
}
671671
}
672-
Audio.Play("event:/game/06_reflection/Sokoban_impact", this.Center);
672+
Audio.Play("event:/game/06_reflection/crushblock_impact", this.Center);
673673
this.level.DirectionalShake(this.crushDir, 0.3f);
674674
Input.Rumble(RumbleStrength.Medium, RumbleLength.Medium);
675675
this.StartShaking(0.4f);

0 commit comments

Comments
 (0)