mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-17 06:50:43 +00:00
rebalancing
This commit is contained in:
@@ -242,6 +242,10 @@ export class ClientGame {
|
||||
|
||||
let borderTileClosest = 10000000
|
||||
let enemyShoreClosest = 10000
|
||||
if (borderWithDists.length == 0 && enemyShoreDists.length == 0) {
|
||||
return
|
||||
}
|
||||
|
||||
if (bordersWithDists.length > 0) {
|
||||
borderTileClosest = borderWithDists[0].dist
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user