Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Jun 29, 2023
2 parents f17719f + cc41b99 commit c64b609
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions core/assets/bundles/bundle_ru.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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 = Соединение закрыто.
Expand Down
4 changes: 2 additions & 2 deletions core/src/mindustry/type/UnitType.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
5 changes: 3 additions & 2 deletions core/src/mindustry/world/blocks/defense/RegenProjector.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.*;
Expand Down Expand Up @@ -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)));
});
}
Expand Down

0 comments on commit c64b609

Please sign in to comment.