updates
This commit is contained in:
@@ -87,6 +87,10 @@ public class LocationsController : ControllerBase
|
||||
{
|
||||
return NotFound();
|
||||
}
|
||||
if (!User.IsInRole("SUPER"))
|
||||
{
|
||||
return BadRequest("Use a Scout move order to claim territory on arrival.");
|
||||
}
|
||||
|
||||
if (!User.IsInRole("SUPER") && !await _locations.IsAdjacentToOwnedAsync(username, request.Q, request.R))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user