mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01:00
Move physics fixtures to its own component (#2220)
This commit is contained in:
@@ -113,6 +113,16 @@ namespace Robust.UnitTesting
|
||||
compFactory.RegisterClass<PhysicsMapComponent>();
|
||||
}
|
||||
|
||||
if (!compFactory.AllRegisteredTypes.Contains(typeof(BroadphaseComponent)))
|
||||
{
|
||||
compFactory.RegisterClass<BroadphaseComponent>();
|
||||
}
|
||||
|
||||
if (!compFactory.AllRegisteredTypes.Contains(typeof(FixturesComponent)))
|
||||
{
|
||||
compFactory.RegisterClass<FixturesComponent>();
|
||||
}
|
||||
|
||||
if(entMan.EventBus == null)
|
||||
{
|
||||
entMan.Startup();
|
||||
|
||||
Reference in New Issue
Block a user