mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Fix map serialization error log (#3967)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user