mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix incorrect handling of disabled groups in buy menu
Disabled groups would still be bought free of charge. this is now fixed
This commit is contained in:
parent
321bd4e874
commit
015103f613
@ -222,6 +222,7 @@ class QGroundObjectTemplateLayout(QGroupBox):
|
||||
self.ground_object.groups = []
|
||||
for group_name, groups in self.layout_model.groups.items():
|
||||
for group in groups:
|
||||
if group.enabled:
|
||||
self.layout_model.force_group.create_theater_group_for_tgo(
|
||||
self.ground_object,
|
||||
group.layout,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user