1
0
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:
zethnest 2020-07-09 21:23:49 +08:00 committed by GitHub
parent 29e9d064df
commit 2a81370c66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 -> {