mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix missing check in handle_ew_jamming w.r.t. plugin option
This commit is contained in:
parent
8c9343e0db
commit
24c6b62ad4
@ -185,6 +185,8 @@ class FlightGroupConfigurator:
|
||||
if not member.is_player:
|
||||
return
|
||||
settings = self.flight.coalition.game.settings
|
||||
if not settings.plugin_option("ewrj"):
|
||||
return
|
||||
# Check if ecm_required option is enabled
|
||||
jammer_required = settings.plugin_option("ewrj.ecm_required")
|
||||
has_jammer = member.loadout.has_weapon_of_type(WeaponType.JAMMER)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user