mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
fix numerous UI elements using is_ownfor
This commit is contained in:
@@ -195,7 +195,9 @@ class QGroundObjectMenu(QDialog):
|
||||
lambda degrees: self.rotate_tgo(Heading(degrees))
|
||||
)
|
||||
self.orientationBoxLayout.addWidget(self.headingSelector)
|
||||
can_adjust_heading = self.cp.is_friendly(to_player=self.game_model.is_ownfor)
|
||||
can_adjust_heading = self.cp.is_friendly(
|
||||
to_player=Player.BLUE if self.game_model.is_ownfor else Player.RED
|
||||
)
|
||||
if can_adjust_heading:
|
||||
self.head_to_conflict_button = QPushButton("Head to conflict")
|
||||
heading = (
|
||||
|
||||
Reference in New Issue
Block a user