Merge pull request #2463 from FlightControl-Master/master

Merge from master
This commit is contained in:
Thomas
2025-12-06 11:50:12 +01:00
committed by GitHub
4 changed files with 4 additions and 4 deletions
@@ -684,6 +684,7 @@ do
local ShootingWeapon = EventData.Weapon -- Identify the weapon fired
local ShootingWeaponName = EventData.WeaponName -- return weapon type
-- get firing coalition
if not EventData.IniGroup then return self end
local weaponcoalition = EventData.IniGroup:GetCoalition()
-- get detection probability
if self:_CheckCoalition(weaponcoalition) then --avoid overhead on friendly fire