mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 23:44:00 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
0663d8067a
@ -132,10 +132,8 @@ public class PowerNode extends PowerBlock{
|
||||
}
|
||||
|
||||
protected void drawLaser(float x1, float y1, float x2, float y2, float satisfaction, int size1, int size2){
|
||||
int opacityPercentage = Core.settings.getInt("lasersopacity");
|
||||
if(opacityPercentage == 0) return;
|
||||
|
||||
float opacity = opacityPercentage / 100f;
|
||||
float opacity = Core.settings.getInt("lasersopacity") / 100f;
|
||||
if(Mathf.zero(opacity)) return;
|
||||
|
||||
float angle1 = Angles.angle(x1, y1, x2, y2);
|
||||
t1.trns(angle1, size1 * tilesize / 2f - 1.5f);
|
||||
|
Loading…
Reference in New Issue
Block a user