diff --git a/pkg/gameserverallocations/find.go b/pkg/gameserverallocations/find.go index 3a0f23c8ba..01ed9ec5da 100644 --- a/pkg/gameserverallocations/find.go +++ b/pkg/gameserverallocations/find.go @@ -51,7 +51,7 @@ func findGameServerForAllocation(gsa *allocationv1.GameServerAllocation, list [] case apis.Distributed: // randomised looping - make a list of indices, and then randomise them // as we don't want to change the order of the gameserver slice - if !runtime.FeatureEnabled(runtime.FeatureCountsAndLists) { + if !runtime.FeatureEnabled(runtime.FeatureCountsAndLists) || len(gsa.Spec.Priorities) == 0 { l := len(list) indices := make([]int, l) for i := 0; i < l; i++ {