File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ def GetPlayerActions(self, state: pb2.State):
4444 if state .world_model .self .is_goalie :
4545 actions .append (pb2 .PlayerAction (helios_goalie = pb2 .HeliosGoalie ()))
4646 elif state .world_model .self .is_kickable :
47+ # First action has the highest priority
48+ actions .append (pb2 .PlayerAction (helios_shoot = pb2 .HeliosShoot ()))
4749 actions .append (pb2 .PlayerAction (helios_offensive_planner = pb2 .HeliosOffensivePlanner (lead_pass = True ,
4850 direct_pass = True ,
4951 through_pass = True ,
@@ -55,7 +57,6 @@ def GetPlayerActions(self, state: pb2.State):
5557 cross = True ,
5658 server_side_decision = False
5759 )))
58- actions .append (pb2 .PlayerAction (helios_shoot = pb2 .HeliosShoot ()))
5960 else :
6061 actions .append (pb2 .PlayerAction (helios_basic_move = pb2 .HeliosBasicMove ()))
6162 else :
You can’t perform that action at this time.
0 commit comments