Add readonly to structs
This commit is contained in:
@@ -200,7 +200,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
public ResourceType GetRenderedResourceType(CPos cell) { return RenderContent[cell].Type; }
|
||||
|
||||
public struct RendererCellContents
|
||||
public readonly struct RendererCellContents
|
||||
{
|
||||
public readonly string Variant;
|
||||
public readonly ResourceType Type;
|
||||
|
||||
Reference in New Issue
Block a user