This commit is contained in:
hz
2026-05-21 02:21:54 -05:00
parent de42f85835
commit 5530a185a0
6 changed files with 216 additions and 52 deletions
@@ -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))
{