Skip to content

Commit

Permalink
Nuke advisor no longer is edible
Browse files Browse the repository at this point in the history
  • Loading branch information
Arch-Shaman committed Sep 21, 2021
1 parent d19189b commit fa9caba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LuaRules/Gadgets/unit_gamerules_events.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if not gadgetHandler:IsSyncedCode() then
end
end
if playsound == f then
Spring.PlaySoundFile("sounds/reply/advisor/nuclearthreat.wav", 100)
Spring.PlaySoundFile("nukewarning", 100)
end
end

Expand Down
8 changes: 8 additions & 0 deletions gamedata/sounds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@ local Sounds = {
maxconcurrent = 14,
rollOff = 0.5,
},
nukewarning = {
file = "sounds/reply/advisor/nuclearthreat.wav",
gain = 1.33,
pitch = 1.0,
priority = 20,
preload = true,
maxconcurrent = 1,
},
},
}

Expand Down

0 comments on commit fa9caba

Please sign in to comment.