Skip to content

Commit 6f1185a

Browse files
committed
Compat: Fix status module regression
1 parent 85010a3 commit 6f1185a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

classes/class.Compat.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ public static function printStatusModule() : void
626626
// Pretty output for readability
627627
foreach ($a_status as $id => $status)
628628
{
629-
$percentage = round(($game_scount["status"][$id]/$game_scount["status"][0]) * 100, 2, PHP_ROUND_HALF_UP);
629+
$percentage = round(($game_scount["nostatus"][$id]/$game_scount["nostatus"][0]) * 100, 2, PHP_ROUND_HALF_UP);
630630

631631
// Initialise current status parent div
632632
$html_div_main = new HTMLDiv("compat-status-main");

0 commit comments

Comments
 (0)