Fix IDE0100
This commit is contained in:
committed by
Pavel Penev
parent
78c41b84a1
commit
ede5412526
@@ -269,7 +269,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
{
|
||||
var bot = botTypes.Random(Game.CosmeticRandom);
|
||||
var c = orderManager.LobbyInfo.ClientInSlot(slot.Key);
|
||||
if (slot.Value.AllowBots == true && (c == null || c.Bot != null))
|
||||
if (slot.Value.AllowBots && (c == null || c.Bot != null))
|
||||
orderManager.IssueOrder(Order.Command($"slot_bot {slot.Key} {botController.Index} {bot}"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user