mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Don't show airbase armor & air defense.
This commit is contained in:
parent
d8d17e5c18
commit
d2ea6ed2fd
@ -84,6 +84,10 @@ class QLiberationMap(QGraphicsView):
|
|||||||
|
|
||||||
|
|
||||||
for ground_object in cp.ground_objects:
|
for ground_object in cp.ground_objects:
|
||||||
|
|
||||||
|
if ground_object.airbase_group:
|
||||||
|
continue
|
||||||
|
|
||||||
go_pos = self._transform_point(ground_object.position)
|
go_pos = self._transform_point(ground_object.position)
|
||||||
scene.addItem(QMapGroundObject(self, go_pos[0], go_pos[1], 16, 16, cp, ground_object))
|
scene.addItem(QMapGroundObject(self, go_pos[0], go_pos[1], 16, 16, cp, ground_object))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user