More map validator fixes (#5820)

This commit is contained in:
Leon Friedrich
2025-04-14 13:55:02 +10:00
committed by GitHub
parent 6a4e4cf3b4
commit 34f4cf9452
2 changed files with 4 additions and 2 deletions

View File

@@ -155,9 +155,9 @@ public sealed class EntitySerializer : ISerializationContext,
public event IsSerializableDelegate? OnIsSerializeable;
public delegate void IsSerializableDelegate(Entity<MetaDataComponent> ent, ref bool serializable);
public EntitySerializer(IDependencyCollection _dependency, SerializationOptions options)
public EntitySerializer(IDependencyCollection dependency, SerializationOptions options)
{
_dependency.InjectDependencies(this);
dependency.InjectDependencies(this);
_log = _logMan.GetSawmill("entity_serializer");
SerializerProvider.RegisterSerializer(this);

View File

@@ -21,6 +21,8 @@ proto:
---
entity:
uid: int()
paused: bool(required=False)
mapInit: bool(required=False)
components: list(comp())
missingComponents: list(str(), required=False)