diff --git a/Manager/module.php b/Manager/module.php index 04476d1..02758a9 100644 --- a/Manager/module.php +++ b/Manager/module.php @@ -306,7 +306,7 @@ class Manager extends IPSModule // Sortiere die Schritte nach Größe usort($allSteps, function ($a, $b) { - return $b["step"] <=> $a["step"]; + return $a["step"] <=> $b["step"]; }); @@ -324,6 +324,7 @@ class Manager extends IPSModule } } + $remainingPower = $remainingPower *-1; // Prüfen, dass jeder User mindestens seinen minimalwert an Leistung bekommt diff --git a/library.json b/library.json index da4c7bc..b30f6d8 100644 --- a/library.json +++ b/library.json @@ -6,7 +6,7 @@ "compatibility": { "version": "7.1" }, - "version": "1.175", + "version": "1.176", "build": 0, "date": 0 } \ No newline at end of file