Clear buffer on drawflush (#11582)
This commit is contained in:
@@ -989,8 +989,8 @@ public class LExecutor{
|
|||||||
public void run(LExecutor exec){
|
public void run(LExecutor exec){
|
||||||
if(target.building() instanceof LogicDisplayBuild d && d.isValid() && (d.team == exec.team || exec.privileged)){
|
if(target.building() instanceof LogicDisplayBuild d && d.isValid() && (d.team == exec.team || exec.privileged)){
|
||||||
d.flushCommands(exec.graphicsBuffer);
|
d.flushCommands(exec.graphicsBuffer);
|
||||||
exec.graphicsBuffer.clear();
|
|
||||||
}
|
}
|
||||||
|
exec.graphicsBuffer.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user