Skip to content

Commit

Permalink
Set scalar properly
Browse files Browse the repository at this point in the history
  • Loading branch information
DMagic1 committed Nov 4, 2016
1 parent 65cc090 commit 7e81f54
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Source/Part Modules/DMSIGINT.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public override void OnStart(PartModule.StartState state)
if (IsDeployed)
{
deployScalar = 1;
scalar = 1;
return;
}

Expand Down Expand Up @@ -249,6 +250,7 @@ public override void deployEvent()
}

deployScalar = 1;
scalar = 1;

base.deployEvent();
}
Expand All @@ -259,6 +261,7 @@ public override void retractEvent()
return;

deployScalar = 0;
scalar = 0;

base.retractEvent();
}
Expand Down Expand Up @@ -382,7 +385,7 @@ public void SetScalar(float t)
{
if (oneShot && isLocked)
{
scalar = t;
scalar = 1;
deployScalar = 1;
moving = false;

Expand Down

0 comments on commit 7e81f54

Please sign in to comment.