[Scummvm-git-logs] scummvm-web master -> f7f9221415d3437e0754ce9c88cbe324d3dee24c

Thunderforge noreply at scummvm.org
Sun Jun 19 22:33:15 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
f7f9221415 WEB: Reducing demo group threshold from 15 to 10


Commit: f7f9221415d3437e0754ce9c88cbe324d3dee24c
    https://github.com/scummvm/scummvm-web/commit/f7f9221415d3437e0754ce9c88cbe324d3dee24c
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2022-06-19T17:33:09-05:00

Commit Message:
WEB: Reducing demo group threshold from 15 to 10

This allows Adventure Soft demos to show up.

Changed paths:
    include/Models/GameDemosModel.php


diff --git a/include/Models/GameDemosModel.php b/include/Models/GameDemosModel.php
index c1a2b579..a78d60bd 100644
--- a/include/Models/GameDemosModel.php
+++ b/include/Models/GameDemosModel.php
@@ -54,7 +54,7 @@ class GameDemosModel extends BasicModel
             'demos' => []
         ];
         foreach ($groups as $key => $group) {
-            if (count($groups[$key]['demos']) <= 15) {
+            if (count($groups[$key]['demos']) <= 10) {
                 $groups['other']['demos'] = \array_merge($groups['other']['demos'], $groups[$key]['demos']);
                 unset($groups[$key]);
             }




More information about the Scummvm-git-logs mailing list