mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 11:20:45 +00:00
console.debug is unecessary, code comment instead.
This commit is contained in:
@@ -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 [];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user