Validate Cargo Markets (#37271)
* Validate cargo markets * readonly market ID
This commit is contained in:
@@ -78,7 +78,7 @@ public sealed partial class CargoOrderConsoleComponent : Component
|
||||
/// All of the <see cref="CargoProductPrototype.Group"/>s that are supported.
|
||||
/// </summary>
|
||||
[DataField, AutoNetworkedField]
|
||||
public List<string> AllowedGroups = new() { "market" };
|
||||
public List<ProtoId<CargoMarketPrototype>> AllowedGroups = new() { "market" };
|
||||
|
||||
/// <summary>
|
||||
/// Access needed to toggle the limit on this console.
|
||||
|
||||
Reference in New Issue
Block a user