mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-01 02:03:29 +00:00
fixed attackLogic bug
This commit is contained in:
@@ -245,7 +245,7 @@ export class ClientGame {
|
||||
if (bordersWithDists.length > 0) {
|
||||
borderTileClosest = borderWithDists[0].dist
|
||||
}
|
||||
if (enemyShoreDists.length > 0 && bordersOcean) {
|
||||
if (enemyShoreDists.length > 0) {
|
||||
enemyShoreClosest = enemyShoreDists[0].dist
|
||||
}
|
||||
if (enemyShoreClosest < borderTileClosest / 6) {
|
||||
|
||||
Reference in New Issue
Block a user