mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Remove fuel restriction for FOB/FARPs
Probably why we end up with 3/4 of a tank on roadbases -_-
This commit is contained in:
parent
a658e41c54
commit
b2ae10ce6f
@ -275,8 +275,6 @@ class Flight(
|
|||||||
self.fuel = unit_type.fuel_max * 0.5
|
self.fuel = unit_type.fuel_max * 0.5
|
||||||
elif unit_type == Hercules:
|
elif unit_type == Hercules:
|
||||||
self.fuel = unit_type.fuel_max * 0.75
|
self.fuel = unit_type.fuel_max * 0.75
|
||||||
elif self.departure.cptype.name in ["FARP", "FOB"] and not self.is_helo:
|
|
||||||
self.fuel = unit_type.fuel_max * 0.75
|
|
||||||
|
|
||||||
def any_member_has_weapon_of_type(self, weapon_type: WeaponType) -> bool:
|
def any_member_has_weapon_of_type(self, weapon_type: WeaponType) -> bool:
|
||||||
return any(
|
return any(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user