Fix and enable SA1133, SA1134 style rules.
This commit is contained in:
@@ -36,7 +36,8 @@ namespace OpenRA.Mods.Common.Traits
|
||||
readonly StoresResourcesInfo info;
|
||||
PlayerResources player;
|
||||
|
||||
[Sync] public int Stored { get { return player.ResourceCapacity == 0 ? 0 : (int)((long)info.Capacity * player.Resources / player.ResourceCapacity); } }
|
||||
[Sync]
|
||||
public int Stored { get { return player.ResourceCapacity == 0 ? 0 : (int)((long)info.Capacity * player.Resources / player.ResourceCapacity); } }
|
||||
|
||||
public StoresResources(Actor self, StoresResourcesInfo info)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user