console.debug is unecessary, code comment instead.

This commit is contained in:
BeGj
2025-03-04 12:25:01 +00:00
parent de07fd0b4f
commit abf79f4c8d
+1 -1
View File
@@ -107,7 +107,7 @@ export class UnitLayer implements Layer {
return distA - distB;
});
} catch (err) {
console.debug("User click outside the game. Ignoring the click event");
// The cell coordinate were invalid (user probably clicked outside the map), therefore no warships can be found
return [];
}
}