Automatic room closing (#6)
* Ace now lets you play again if there are two players * 1 line if :o * Better Ace * Feature/automautic room closing (#5) * Room now closes when nobody is in the room * cleanup
This commit is contained in:
@@ -52,11 +52,4 @@ public class RoomController : ControllerBase
|
||||
var id = _roomManager.CreateRoom();
|
||||
return Ok(JsonSerializer.Serialize(id));
|
||||
}
|
||||
|
||||
[HttpDelete]
|
||||
public IActionResult Delete()
|
||||
{
|
||||
_roomManager.RemoveAllRooms();
|
||||
return NoContent();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user