Added a Collidable Component to the existing station grind in StationStation.

This commit is contained in:
Acruid
2020-01-11 15:15:11 -08:00
parent 32103979ed
commit ca58afd81b
3 changed files with 6 additions and 1 deletions

View File

@@ -52,6 +52,7 @@ namespace Content.Server.GameObjects.Components.Movement
physComp.Mass = 1;
}
//TODO: Is this always true?
if (!gridEntity.HasComponent<ICollidableComponent>())
{
var collideComp = gridEntity.AddComponent<CollidableComponent>();

View File

@@ -101,6 +101,10 @@ entities:
type: Transform
- index: 0
type: MapGrid
- shapes:
- !type:PhysShapeGrid
grid: 0
type: Collidable
- uid: 1
type: LaserItem
components: