mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-04 11:07:12 +02:00
Some fixes for map init. (#2355)
This commit is contained in:
@@ -101,6 +101,7 @@ entities:
|
||||
protoMan.RegisterType(typeof(EntityPrototype));
|
||||
|
||||
protoMan.LoadDirectory(new ResourcePath("/Prototypes"));
|
||||
protoMan.Resync();
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
@@ -60,6 +60,7 @@ namespace Robust.UnitTesting.Shared.Serialization
|
||||
|
||||
prototypeManager.RegisterType(typeof(EntityPrototype));
|
||||
prototypeManager.LoadString(Prototypes);
|
||||
prototypeManager.Resync();
|
||||
|
||||
var entityManager = IoCManager.Resolve<IEntityManager>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user