Revert "Fix map serialization error log" (#3968)

This commit is contained in:
Leon Friedrich
2023-04-24 19:32:17 +12:00
committed by GitHub
parent be9f0a988a
commit f25a728a36
2 changed files with 2 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ internal sealed class MapSerializationContext : ISerializationContext, IEntityLo
if (!_entityUidMap.TryGetValue(value, out var entityUidMapped))
{
// Terrible hack to mute this error on the grids themselves when serializing blueprints.
if (!value.IsValid() && CurrentWritingComponent != "Transform")
if (value.IsValid() || CurrentWritingComponent != "Transform")
{
Logger.ErrorS("map", "Encountered an invalid entityUid '{0}' while serializing a map.", value);
}