From e4b069c57cbbfdda031b9abe66d0d4fbe32c3f53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20H=C3=A4fliger?= Date: Sat, 8 Mar 2025 00:04:25 +0100 Subject: [PATCH] log --- Manager/module.php | 3 ++- library.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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