Don't give maps shuttlecomponent (#13384)
This commit is contained in:
@@ -98,6 +98,9 @@ namespace Content.Server.Shuttles.Systems
|
|||||||
|
|
||||||
private void OnGridInit(GridInitializeEvent ev)
|
private void OnGridInit(GridInitializeEvent ev)
|
||||||
{
|
{
|
||||||
|
if (HasComp<MapComponent>(ev.EntityUid))
|
||||||
|
return;
|
||||||
|
|
||||||
EntityManager.EnsureComponent<ShuttleComponent>(ev.EntityUid);
|
EntityManager.EnsureComponent<ShuttleComponent>(ev.EntityUid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user