Skip to content

Commit

Permalink
add shuffle seed to winds randomization
Browse files Browse the repository at this point in the history
  • Loading branch information
ctizen committed Dec 21, 2024
1 parent bcfe099 commit f3449aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Mimir/src/helpers/Seating.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ protected static function _calculateIntersectionFactor(array $seating, array $pr
*/
protected static function _updatePlacesToRandom(array $seating)
{
self::shuffleSeed();
$tables = array_chunk($seating, 4, true);
$resultSeating = [];
foreach ($tables as $tableWithRatings) {
Expand Down

0 comments on commit f3449aa

Please sign in to comment.