diff --git a/core/assets/bundles/bundle_ru.properties b/core/assets/bundles/bundle_ru.properties index 069742cda9b8..b7b0ffc77814 100644 --- a/core/assets/bundles/bundle_ru.properties +++ b/core/assets/bundles/bundle_ru.properties @@ -253,7 +253,7 @@ viewplayer = Отслеживаем игрока: [accent]{0} trace = Отслеживать игрока trace.playername = Имя игрока: [accent]{0} -trace.ip = Адрес: [accent]{0} +trace.ip = IP: [accent]{0} trace.id = ID: [accent]{0} trace.mobile = Мобильный клиент: [accent]{0} trace.modclient = Пользовательский клиент: [accent]{0} @@ -286,7 +286,7 @@ confirmunadmin = Вы действительно хотите убрать иг votekick.reason = Причина votekick.reason.message = Вы уверены, что хотите голосованием выгнать "{0}[white]"?\nЕсли да, введите причину: joingame.title = Присоединиться к игре -joingame.ip = Адрес: +joingame.ip = IP: disconnect = Отключено. disconnect.error = Ошибка соединения. disconnect.closed = Соединение закрыто. diff --git a/core/src/mindustry/type/UnitType.java b/core/src/mindustry/type/UnitType.java index 9c1306688778..ee2e01a4de70 100644 --- a/core/src/mindustry/type/UnitType.java +++ b/core/src/mindustry/type/UnitType.java @@ -684,8 +684,8 @@ public void init(){ if(pathCost == null){ pathCost = - example instanceof WaterMovec ? ControlPathfinder.costNaval : - allowLegStep ? ControlPathfinder.costLegs : + naval ? ControlPathfinder.costNaval : + allowLegStep || example instanceof Crawlc ? ControlPathfinder.costLegs : hovering ? ControlPathfinder.costHover : ControlPathfinder.costGround; } diff --git a/core/src/mindustry/world/blocks/defense/RegenProjector.java b/core/src/mindustry/world/blocks/defense/RegenProjector.java index 10c1126695e1..69bbb61116ad 100644 --- a/core/src/mindustry/world/blocks/defense/RegenProjector.java +++ b/core/src/mindustry/world/blocks/defense/RegenProjector.java @@ -5,7 +5,6 @@ import arc.math.*; import arc.struct.*; import arc.util.*; -import mindustry.*; import mindustry.content.*; import mindustry.entities.*; import mindustry.entities.units.*; @@ -55,9 +54,11 @@ public void drawPlace(int x, int y, int rotation, boolean valid){ x *= tilesize; y *= tilesize; + x += offset; + y += offset; Drawf.dashSquare(baseColor, x, y, range * tilesize); - indexer.eachBlock(Vars.player.team(), Tmp.r1.setCentered(x, y, range * tilesize), b -> true, t -> { + indexer.eachBlock(player.team(), Tmp.r1.setCentered(x, y, range * tilesize), b -> true, t -> { Drawf.selected(t, Tmp.c1.set(baseColor).a(Mathf.absin(4f, 1f))); }); }