Fix for render mocking
This commit is contained in:
@@ -153,7 +153,7 @@ public class PowerNode extends PowerBlock{
|
|||||||
float fract = 1f - satisfaction;
|
float fract = 1f - satisfaction;
|
||||||
|
|
||||||
Draw.color(laserColor1, laserColor2, fract * 0.86f + Mathf.absin(3f, 0.1f));
|
Draw.color(laserColor1, laserColor2, fract * 0.86f + Mathf.absin(3f, 0.1f));
|
||||||
Draw.alpha(renderer.laserOpacity);
|
Draw.alpha(renderer == null ? 0.5f : renderer.laserOpacity);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void drawLaser(Team team, float x1, float y1, float x2, float y2, int size1, int size2){
|
protected void drawLaser(Team team, float x1, float y1, float x2, float y2, int size1, int size2){
|
||||||
|
|||||||
Reference in New Issue
Block a user