Research tweaks
This commit is contained in:
@@ -178,10 +178,11 @@ public class ResearchBlock extends Block{
|
||||
@Override
|
||||
public boolean configTapped(){
|
||||
//configure with tech node
|
||||
ui.tech.show(node -> {
|
||||
configure(node);
|
||||
ui.tech.hide();
|
||||
});
|
||||
ui.showInfo("this does nothing");
|
||||
//ui.research.show(node -> {
|
||||
// configure(node);
|
||||
// ui.research.hide();
|
||||
//});
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -12,6 +12,8 @@ import java.util.*;
|
||||
import static mindustry.Vars.content;
|
||||
|
||||
public class ItemModule extends BlockModule{
|
||||
public static final ItemModule empty = new ItemModule();
|
||||
|
||||
private static final int windowSize = 60 * 4;
|
||||
private static WindowedMean[] cacheFlow;
|
||||
private static float[] cacheSums;
|
||||
|
||||
Reference in New Issue
Block a user