We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8d3b8c7 + 7e32d3c commit 5e8b76aCopy full SHA for 5e8b76a
src/sslworld.cpp
@@ -613,7 +613,7 @@ void SSLWorld::recvActions() {
613
if (grSimPacket.has_replacement()) {
614
for (int i=0; i < grSimPacket.replacement().robots_size(); i++) {
615
int team = 0;
616
- if (grSimPacket.commands().has_isteamyellow() && grSimPacket.commands().isteamyellow()) team = 1;
+ if (grSimPacket.replacement().robots(i).has_yellowteam() && grSimPacket.replacement().robots(i).yellowteam()) team = 1;
617
618
if (!grSimPacket.replacement().robots(i).has_id()) continue;
619
int k = grSimPacket.replacement().robots(i).id();
0 commit comments