diff --git a/application/plugins/Dedimania/Dedimania.php b/application/plugins/Dedimania/Dedimania.php index d93085aa..4957d058 100644 --- a/application/plugins/Dedimania/Dedimania.php +++ b/application/plugins/Dedimania/Dedimania.php @@ -342,7 +342,7 @@ class Dedimania implements CallbackListener, TimerListener, Plugin { } } } - }, $content, false); //TODO compression + }, $content, true); //TODO compression } /** diff --git a/application/plugins/LocalRecords.php b/application/plugins/LocalRecords.php index 6257241e..71f40aae 100644 --- a/application/plugins/LocalRecords.php +++ b/application/plugins/LocalRecords.php @@ -322,6 +322,10 @@ class LocalRecordsPlugin implements CallbackListener, TimerListener, Plugin { // Times foreach ($records as $index => $record) { + if ($index >= $lines) { + break; + } + $y = -8. - $index * $lineHeight; $recordFrame = new Frame();