mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
The End of Entity (Komm, Süsser Todd: Part 1.0) (#2295)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
This commit is contained in:
committed by
GitHub
parent
f8bebee904
commit
196e2bb427
@@ -5,6 +5,7 @@ using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Log;
|
||||
using Robust.Shared.Maths;
|
||||
using Robust.Shared.Reflection;
|
||||
@@ -79,7 +80,7 @@ namespace Robust.Shared.Serialization
|
||||
|
||||
var settings = new Settings
|
||||
{
|
||||
CustomTypeSerializers = new[] {_mappedStringSerializer.TypeSerializer}
|
||||
CustomTypeSerializers = new[] {_mappedStringSerializer.TypeSerializer, new IEntitySerializer()}
|
||||
};
|
||||
_serializer = new Serializer(types, settings);
|
||||
_serializableTypes = new HashSet<Type>(_serializer.GetTypeMap().Keys);
|
||||
|
||||
Reference in New Issue
Block a user