Fix GroundObject Menu

- fixed incorrect Buy button enable / disable
- update the game after repair
This commit is contained in:
RndName
2022-03-27 20:31:10 +02:00
parent 5f010bb94d
commit c9df8cc803
2 changed files with 13 additions and 6 deletions

View File

@@ -238,7 +238,7 @@ class QGroundObjectMenu(QDialog):
logging.info("Removed destroyed units " + str(d))
logging.info(f"Repaired unit: {unit.unit_name}")
self.do_refresh_layout()
self.update_game()
def rotate_tgo(self, heading: Heading) -> None:
self.ground_object.rotate(heading)