mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-11-13 07:15:28 +03:00
fix power produce & consumption (#2217)
This commit is contained in:
parent
29e9d064df
commit
2a81370c66
@ -350,7 +350,7 @@ public class SchematicsDialog extends BaseDialog{
|
||||
}
|
||||
});
|
||||
cont.row();
|
||||
float cons = schem.powerConsumption(), prod = schem.powerProduction();
|
||||
float cons = schem.powerConsumption() * 60, prod = schem.powerProduction() * 60;
|
||||
if(!Mathf.zero(cons) || !Mathf.zero(prod)){
|
||||
cont.table(t -> {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user