mirror of
https://github.com/PretendoNetwork/super-mario-maker.git
synced 2026-09-13 03:16:37 -05:00
Added specific check for shutters PID to test things
This commit is contained in:
@@ -10,10 +10,16 @@ func recommendedCourseSearchObject(err error, client *nex.Client, callID uint32,
|
||||
|
||||
pRankingResults := make([]*nexproto.DataStoreCustomRankingResult, 0)
|
||||
|
||||
courseMetadatas := getCourseMetadatasByLimit(100) // In PCAPs param.minimalRatingFrequency is 100 but is 0 here?
|
||||
|
||||
for _, courseMetadata := range courseMetadatas {
|
||||
// TEMP FOR SHUTTER TO TEST THINGS
|
||||
if client.PID() == 1049991375 {
|
||||
courseMetadata := getCourseMetadataByDataID(145)
|
||||
pRankingResults = append(pRankingResults, courseMetadataToDataStoreCustomRankingResult(courseMetadata))
|
||||
} else {
|
||||
courseMetadatas := getCourseMetadatasByLimit(100) // In PCAPs param.minimalRatingFrequency is 100 but is 0 here?
|
||||
|
||||
for _, courseMetadata := range courseMetadatas {
|
||||
pRankingResults = append(pRankingResults, courseMetadataToDataStoreCustomRankingResult(courseMetadata))
|
||||
}
|
||||
}
|
||||
|
||||
rmcResponseStream := nex.NewStreamOut(nexServer)
|
||||
|
||||
Reference in New Issue
Block a user