Update Berechnungen
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
$: {
|
||||
(async () => {
|
||||
const endEnergieVerbrauch = (await ausweis.endEnergieVerbrauch);
|
||||
const primaerEnergieVerbrauch = (await ausweis.primaerEnergieVerbrauch);
|
||||
const primaerEnergieVerbrauch = (await ausweis.primaerEnergieBedarf);
|
||||
translation_1 = Math.max(0, Math.min(100, endEnergieVerbrauch / maxPerformance * 100))
|
||||
translation_2 = Math.max(0, Math.min(100, primaerEnergieVerbrauch / maxPerformance * 100))
|
||||
})()
|
||||
|
||||
Reference in New Issue
Block a user