diff --git a/src/server/cyberhex-code/api/php/database/get_update_status.php b/src/server/cyberhex-code/api/php/database/get_update_status.php index 2746de0..aa76cc7 100644 --- a/src/server/cyberhex-code/api/php/database/get_update_status.php +++ b/src/server/cyberhex-code/api/php/database/get_update_status.php @@ -9,7 +9,7 @@ $totalFiles = count($files) - (16 * 16); // Calculate the percentage - $percentage = ($totalFiles / 485+5) * 100; + $percentage = ($totalFiles / (485+5)) * 100; // Ensure the percentage is within the range 0-100 $percentage = max(0, min(100, $percentage));