Add two-way serialization in ExposeData for some of the components that are missing it (#1451)
This commit is contained in:
@@ -53,7 +53,7 @@ namespace Content.Shared.GameObjects.Components
|
||||
serializer.DataFieldCached(ref _maxCount, "max", 50);
|
||||
serializer.DataFieldCached(ref _count, "count", MaxCount);
|
||||
|
||||
if (!serializer.Reading)
|
||||
if (serializer.Writing)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user