Fix thruster shutdown (#8598)
This commit is contained in:
@@ -365,6 +365,7 @@ namespace Content.Server.Shuttles.EntitySystems
|
|||||||
public bool CanEnable(EntityUid uid, ThrusterComponent component)
|
public bool CanEnable(EntityUid uid, ThrusterComponent component)
|
||||||
{
|
{
|
||||||
if (!component.Enabled) return false;
|
if (!component.Enabled) return false;
|
||||||
|
if (component.LifeStage > ComponentLifeStage.Running) return false;
|
||||||
|
|
||||||
var xform = Transform(uid);
|
var xform = Transform(uid);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user