mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 09:40:44 +00:00
removed isValidCoord in onMouseUp
This commit is contained in:
@@ -118,9 +118,6 @@ export class UnitLayer implements Layer {
|
||||
event.x,
|
||||
event.y,
|
||||
);
|
||||
if (!this.game.isValidCoord(cell.x, cell.y)) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Find warships near this cell, sorted by distance
|
||||
const nearbyWarships = this.findWarshipsNearCell(cell);
|
||||
|
||||
Reference in New Issue
Block a user