Skip to content

Commit

Permalink
Merge pull request #57 from Rione/fix/attack_direction
Browse files Browse the repository at this point in the history
change attackdirection from arguments
  • Loading branch information
PJ-Rione authored Nov 7, 2024
2 parents 41e7a16 + 68ff499 commit 3ef8792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion createprotos.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func createOtherInfo(goalpos_n int32, ourteam int, match_mode bool, grsim_send_p
attackdir = int32(attack_direction_from_ref)
} else {
teamcolor = ourteam
attackdir = goalpos_n
attackdir = goalpos_n * -1
}

if teamcolor == 1 { //YELLOW
Expand Down

0 comments on commit 3ef8792

Please sign in to comment.