Skip to content

Commit

Permalink
Fix Fixup-Logic For Hit Sounds
Browse files Browse the repository at this point in the history
  • Loading branch information
Deaod committed Mar 23, 2024
1 parent 5e3829a commit 88078f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Classes/ClientSettings.uc
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ simulated function CheckConfig() {

for (i = 0; i < arraycount(sHitSound); i++) {
if (Left(sHitSound[i], 12) ~= "InstaGibPlus") {
sHitSound[i] = PackageName$Mid(sHitSound[i], InStr(sHitSound[i], "."));
sHitSound[i] = string(Sound'HitSound'.Outer.Name)$Mid(sHitSound[i], InStr(sHitSound[i], "."));
}
if (sHitSound[i] == "" && sHitSound[i] != default.sHitSound[i]) {
sHitSound[i] = default.sHitSound[i];
Expand Down Expand Up @@ -423,10 +423,10 @@ defaultproperties
SelectedTeamHitSound=2
HitSoundVolume=4
HitSoundTeamVolume=4
sHitSound(0)="InstaGibPlus9.HitSound"
sHitSound(0)="InstaGibPlusAssets_v1.HitSound"
sHitSound(1)="UnrealShare.StingerFire"
sHitSound(2)="InstaGibPlus9.HitSoundFriendly"
sHitSound(3)="InstaGibPlus9.HitSound1"
sHitSound(2)="InstaGibPlusAssets_v1.HitSoundFriendly"
sHitSound(3)="InstaGibPlusAssets_v1.HitSound1"
cShockBeam=1
bHideOwnBeam=False
bBeamEnableLight=True
Expand Down

0 comments on commit 88078f0

Please sign in to comment.