Skip to content

Commit

Permalink
fix nuclear missile launch detected notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruwetuin committed Mar 29, 2024
1 parent cd43a07 commit 9fabc0d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions luarules/gadgets/sfx_notifications.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,18 +60,18 @@ if gadgetHandler:IsSyncedCode() then
end
end
local nukesNames = {
["armsilo_nuclear_missile"] = true,
["corsilo_crblmssl"] = true,
["armsilo_scav_nuclear_missile"] = true,
["corsilo_scav_crblmssl"] = true,
["raptor_turret_meteor_t4_v1_weapon"] = true,
--["raptor_allterrain_arty_basic_t4_v1_meteorlauncher"] = true,
armsilo_nuclear_missile = true,
corsilo_crblmssl = true,
armsilo_scav_nuclear_missile = true,
corsilo_scav_crblmssl = true,
raptor_turret_meteor_t4_v1_weapon = true,
--raptor_allterrain_arty_basic_t4_v1_meteorlauncher = true,
}
-- convert weaponname -> weaponDefID
local nukes = {}
for name, params in pairs(nukesNames) do
if WeaponDefNames[name] then
nukesNames[WeaponDefNames[name].id] = params
nukes[WeaponDefNames[name].id] = params
end
end
nukesNames = nil
Expand Down

0 comments on commit 9fabc0d

Please sign in to comment.