Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix guess sound filename function #271

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Fix guess sound filename function #271

merged 1 commit into from
Sep 23, 2024

Conversation

Jbleezy
Copy link
Contributor

@Jbleezy Jbleezy commented Sep 23, 2024

The default sound filenames in T6 have multiple "." in them, so using replace_extension was cutting off the last part of the filename.
Example:

sound/wpn/pistol/fnp45/plr/shot/wpn_fnp45_fire_plr.LN65.pc.snd

was becoming:

sound/wpn/pistol/fnp45/plr/shot/wpn_fnp45_fire_plr.LN65.pc.wav

where it should be:

sound/wpn/pistol/fnp45/plr/shot/wpn_fnp45_fire_plr.LN65.pc.snd.wav

@Laupetin Laupetin enabled auto-merge September 23, 2024 07:44
@Laupetin
Copy link
Owner

whoops. Thanks :)

@Laupetin Laupetin merged commit fabefc8 into Laupetin:main Sep 23, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants