mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-06-25 10:44:42 +02:00
Fikset Bug ved Test av respawn
This commit is contained in:
@ -304,10 +304,9 @@ public class Board {
|
||||
robot.setFacingDirection(Direction.NORTH);
|
||||
robots.put(robot.getRobotId(), robot);
|
||||
}
|
||||
else {
|
||||
deadRobots.remove(robot);
|
||||
}
|
||||
else {deadRobots.remove(robot); }
|
||||
}
|
||||
deadRobots = new ArrayList<>();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user