We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84fa007 commit ae5790eCopy full SHA for ae5790e
1 file changed
engine/src/main/battlecode/world/GameWorld.java
@@ -423,9 +423,11 @@ public boolean catTrapsAllowed(Team team) {
423
}
424
425
public void backstab(Team backstabber) {
426
- this.isCooperation = false;
427
- this.backstabRound = this.currentRound;
428
- this.backstabber = backstabber;
+ if (this.isCooperation){
+ this.isCooperation = false;
+ this.backstabRound = this.currentRound;
429
+ this.backstabber = backstabber;
430
+ }
431
432
433
public boolean getWall(MapLocation loc) {
0 commit comments