Hopefully fix parallel game states

This commit is contained in:
Pieter-Jan Briers
2020-06-24 22:52:44 +02:00
parent 2bd6b20137
commit 41f1dd3fa0
2 changed files with 14 additions and 0 deletions

View File

@@ -122,6 +122,11 @@ namespace Robust.Shared.IoC
$"Attempted to resolve type {type} before the object graph for it has been populated.");
}
if (type == typeof(IDependencyCollection))
{
return this;
}
throw new UnregisteredTypeException(type);
}