mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-06 17:58:05 +02:00
Fix more useless resolves, makes entity system proxy "Deleted" not throw.
This commit is contained in:
@@ -36,7 +36,7 @@ namespace Robust.Client.Physics
|
||||
{
|
||||
if (eventArgs.Map == MapId.Nullspace) return;
|
||||
var mapUid = MapManager.GetMapEntityId(eventArgs.Map);
|
||||
IoCManager.Resolve<IEntityManager>().AddComponent<PhysicsMapComponent>(mapUid);
|
||||
EntityManager.AddComponent<PhysicsMapComponent>(mapUid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user