mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-10-06 21:07:25 +03:00
Fixed #7100
This commit is contained in:
parent
efc7194fbe
commit
5c1b874f38
@ -4285,7 +4285,7 @@ public class Blocks{
|
||||
|
||||
fogRadius = 6f;
|
||||
|
||||
health = 160;
|
||||
health = 250;
|
||||
|
||||
weapons.add(new Weapon(){{
|
||||
shootCone = 360f;
|
||||
|
@ -1021,7 +1021,7 @@ public class LExecutor{
|
||||
@Override
|
||||
public void run(LExecutor exec){
|
||||
|
||||
if(exec.building(target) instanceof MessageBuild d && d.team == exec.team){
|
||||
if(exec.building(target) instanceof MessageBuild d && (d.team == exec.team || exec.privileged)){
|
||||
|
||||
d.message.setLength(0);
|
||||
d.message.append(exec.textBuffer, 0, Math.min(exec.textBuffer.length(), maxTextBuffer));
|
||||
|
@ -31,12 +31,12 @@ public class ItemTurret extends Turret{
|
||||
ammoTypes = ObjectMap.of(objects);
|
||||
}
|
||||
|
||||
/** Makes copies of all bullets and limits their range. */
|
||||
/** Limits bullet range to this turret's range value. */
|
||||
public void limitRange(){
|
||||
limitRange(9f);
|
||||
}
|
||||
|
||||
/** Makes copies of all bullets and limits their range. */
|
||||
/** Limits bullet range to this turret's range value. */
|
||||
public void limitRange(float margin){
|
||||
for(var entry : ammoTypes.entries()){
|
||||
limitRange(entry.value, margin);
|
||||
|
Loading…
Reference in New Issue
Block a user