1
0
Fork 0
This commit is contained in:
Michaël Lemaire 2018-07-22 22:49:02 +02:00
parent 17b8668e9a
commit b711dd48ca

View file

@ -303,7 +303,8 @@ module TK.SpaceTac {
let side = -1; let side = -1;
fleet.ships.forEach(ship => { fleet.ships.forEach(ship => {
ship.setArenaPosition(loc.x, loc.y + side * offset * spacing); let iloc = this.grid.snap({ x: loc.x, y: loc.y + side * offset * spacing });
ship.setArenaPosition(iloc.x, iloc.y);
ship.setArenaFacingAngle(facing_angle); ship.setArenaFacingAngle(facing_angle);
if (side == -1) { if (side == -1) {