Fix thruster shutdown (#8598)

This commit is contained in:
wrexbe
2022-06-02 12:27:16 -07:00
committed by GitHub
parent bcf65c07d7
commit 519b2e998b

View File

@@ -365,6 +365,7 @@ namespace Content.Server.Shuttles.EntitySystems
public bool CanEnable(EntityUid uid, ThrusterComponent component)
{
if (!component.Enabled) return false;
if (component.LifeStage > ComponentLifeStage.Running) return false;
var xform = Transform(uid);