Make the base capture cheat also toggleable.

Also changelog.
This commit is contained in:
Simon Clark
2021-01-07 23:04:33 +00:00
parent 7741713a7c
commit 0bfd766a0b
4 changed files with 17 additions and 4 deletions

View File

@@ -89,7 +89,7 @@ class QMapControlPoint(QMapObject):
return
for connected in self.control_point.connected_points:
if connected.captured:
if connected.captured and self.game_model.game.settings.enable_base_capture_cheat:
menu.addAction(self.capture_action)
break