Revert "virtualize all net ids to reduce net traffic"

This reverts commit 027c338c5f.

Formatting fix left in.
This commit is contained in:
Tyler Young
2020-06-08 16:49:05 -04:00
parent e85b839d27
commit c3fd0ef882
25 changed files with 31 additions and 62 deletions

View File

@@ -69,9 +69,7 @@ namespace Content.Shared.GameObjects.Components.Research
public class MaterialStorageState : ComponentState
{
public readonly Dictionary<string, int> Storage;
public override uint NetID => ContentNetIDs.MATERIAL_STORAGE;
public MaterialStorageState(Dictionary<string, int> storage)
public MaterialStorageState(Dictionary<string, int> storage) : base(ContentNetIDs.MATERIAL_STORAGE)
{
Storage = storage;
}