Skip to content

Commit

Permalink
Fix missing sounds (#529)
Browse files Browse the repository at this point in the history
Co-authored-by: Desoroxxx <[email protected]>
  • Loading branch information
strubium and Desoroxxx authored Nov 16, 2024
1 parent f57f764 commit 4d2cbd3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ like knowing which weapon is better or whether an attachment will be useful to y
- Fixed the default craftingmappings.json
- Fixed the position of the RPG-7 and M202 projectiles
- Fixed compatiblity with GroovyScript 1.2+
- Fixed certain sounds not being registered:
- revolver_reload
- revolverbullet
- revolver_insert_bullet
- revolver_load_complete
- m40a6_boltaction
- m200_intervention_boltaction

### Removed

Expand Down
6 changes: 6 additions & 0 deletions src/main/java/com/paneedah/mwc/UniversalSoundRegistry.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,11 @@ public static void init() {
UniversalSoundLookup.registerSoundToLookup("smallmag_unload");
UniversalSoundLookup.registerSoundToLookup("attachmenton");
UniversalSoundLookup.registerSoundToLookup("attachmentoff");
UniversalSoundLookup.registerSoundToLookup("m200_intervention_boltaction");
UniversalSoundLookup.registerSoundToLookup("m40a6_boltaction");
UniversalSoundLookup.registerSoundToLookup("revolver_reload");
UniversalSoundLookup.registerSoundToLookup("revolverbullet");
UniversalSoundLookup.registerSoundToLookup("revolver_insert_bullet");
UniversalSoundLookup.registerSoundToLookup("revolver_load_complete");
}
}

0 comments on commit 4d2cbd3

Please sign in to comment.