We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0474a0 commit 77ef741Copy full SHA for 77ef741
1 file changed
sc2/bot_ai.py
@@ -1154,6 +1154,8 @@ def research(self, upgrade_type: UpgradeId) -> bool:
1154
structure.type_id in research_structure_types
1155
# If structure hasn't received an action/order this frame
1156
and structure.tag not in self.unit_tags_received_action
1157
+ # Structure is ready / completed
1158
+ and structure.is_ready
1159
# Structure is idle
1160
and structure.is_idle
1161
# Structure belongs to protoss and is powered (near pylon)
0 commit comments