fix(farp): remove unsupported units from spawning in farps

This commit is contained in:
Wrycu 2019-07-01 21:45:58 -07:00
parent 40e3d59432
commit 55de28105e
No known key found for this signature in database
GPG Key ID: BDB10F9DDF6AF8D0

View File

@ -116,12 +116,7 @@ def farp_aa(mission_obj, country, name, position: mapping.Point):
units = [
AirDefence.SPAAA_ZSU_23_4_Shilka,
AirDefence.AAA_ZU_23_Closed,
AirDefence.AAA_ZU_23_Emplacement,
AirDefence.AAA_ZU_23_on_Ural_375,
AirDefence.AAA_ZU_23_Insurgent_Closed,
AirDefence.AAA_ZU_23_Insurgent_on_Ural_375,
Armor.MBT_T_55,
Armor.IFV_BMP_3,
]
v = mission_obj.vehicle(name + "_AAA", random.choice(units))