RCS0056 - roslynator_max_line_length = 160
This commit is contained in:
committed by
Matthias Mailänder
parent
9d5d2ab493
commit
0649f3dc32
@@ -284,7 +284,9 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
|
||||
static void SetSpawnPoint(OrderManager orderManager, Session.Client playerToMove, int selectedSpawnPoint)
|
||||
{
|
||||
var owned = orderManager.LobbyInfo.Clients.Any(c => c.SpawnPoint == selectedSpawnPoint) || orderManager.LobbyInfo.DisabledSpawnPoints.Contains(selectedSpawnPoint);
|
||||
var owned =
|
||||
orderManager.LobbyInfo.Clients.Any(c => c.SpawnPoint == selectedSpawnPoint) ||
|
||||
orderManager.LobbyInfo.DisabledSpawnPoints.Contains(selectedSpawnPoint);
|
||||
if (selectedSpawnPoint == 0 || !owned)
|
||||
orderManager.IssueOrder(Order.Command($"spawn {(playerToMove ?? orderManager.LocalClient).Index} {selectedSpawnPoint}"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user