mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-05 10:12:27 +00:00
Add platform matching to rooms
This commit is contained in:
parent
3f29934628
commit
41dde8eed2
6 changed files with 18 additions and 12 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue