Skip to content

Commit 6ebdda3

Browse files
Fixed earrape from drills/chainsaws oninit
1 parent 579813a commit 6ebdda3

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

Entities/Items/Chainsaw/Chainsaw.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ void onInit(CSprite@ this)
4848
this.SetEmitSound("/Chainsaw.ogg");
4949
this.SetEmitSoundVolume(0.3f);
5050
this.SetEmitSoundSpeed(1.5f);
51+
this.SetEmitSoundPaused(true);
5152
}
5253

5354
void onInit(CBlob@ this)

Entities/Items/Drill/Drill.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ void onInit(CSprite@ this)
5353
}
5454
this.SetEmitSound("/Drill.ogg");
5555
this.SetEmitSoundSpeed(0.7f);
56+
this.SetEmitSoundPaused(true);
5657
}
5758

5859
void onInit(CBlob@ this)

Entities/Items/SteelDrill/SteelDrill.as

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ void onInit(CSprite@ this)
5454
}
5555
this.SetEmitSound("/Drill.ogg");
5656
this.SetEmitSoundSpeed(0.7f);
57+
this.SetEmitSoundPaused(true);
5758
}
5859

5960
void onInit(CBlob@ this)

0 commit comments

Comments
 (0)