Add platform matching to rooms

This commit is contained in:
jvyden 2022-02-17 16:23:09 -05:00
parent 3f29934628
commit 41dde8eed2
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278
6 changed files with 18 additions and 12 deletions

View file

@ -26,7 +26,7 @@ public class RoomVisualizerController : ControllerBase
return this.NotFound();
#else
List<User> users = await this.database.Users.OrderByDescending(_ => EF.Functions.Random()).Take(2).ToListAsync();
RoomHelper.CreateRoom(users, GameVersion.LittleBigPlanet2);
RoomHelper.CreateRoom(users, GameVersion.LittleBigPlanet2, Platform.PS3);
foreach (User user in users)
{