Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion RobotPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ public void run(){
FancyMessage.sendMessage(1, 1, 1, 3);
}
RobotType type = RESOURCE_FUNCTIONS.chooseRobotType();
if(RESOURCE_FUNCTIONS.tryBuild(type)){ //See function in RESOURCE_FUNCTIONS to know what it does
if(rc.isCoreReady() && RESOURCE_FUNCTIONS.tryBuild(type)){ //See function in RESOURCE_FUNCTIONS to know what it does
//After building scout, waits a turn, then signals it the location, so it has a good idea of where base is
//Also signals the scout which type to become
Clock.yield();
Expand Down