mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-22 10:17:47 +07:00
Fixed #8525
This commit is contained in:
parent
9cc392a9ed
commit
13297023fe
@ -70,6 +70,12 @@ public class LightBlock extends Block{
|
||||
super.control(type, p1, p2, p3, p4);
|
||||
}
|
||||
|
||||
@Override
|
||||
public double sense(LAccess sensor){
|
||||
if(sensor == LAccess.color) return Tmp.c1.set(color).toDoubleBits();
|
||||
return super.sense(sensor);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void draw(){
|
||||
super.draw();
|
||||
|
Loading…
Reference in New Issue
Block a user