From 2a81370c66b931cd495e1ff3946b0bc7e46ebb64 Mon Sep 17 00:00:00 2001 From: zethnest <16971676+zethnest@users.noreply.github.com> Date: Thu, 9 Jul 2020 21:23:49 +0800 Subject: [PATCH] fix power produce & consumption (#2217) --- core/src/mindustry/ui/dialogs/SchematicsDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/ui/dialogs/SchematicsDialog.java b/core/src/mindustry/ui/dialogs/SchematicsDialog.java index 375c3bdd61..e26ab13a93 100644 --- a/core/src/mindustry/ui/dialogs/SchematicsDialog.java +++ b/core/src/mindustry/ui/dialogs/SchematicsDialog.java @@ -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 -> {