Skip to content

Commit

Permalink
Revert to standard stock_chutes behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
602p committed Dec 6, 2014
1 parent 89d526c commit 094b362
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Entropy/Entropy/FailureModules/Parachutes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,20 @@ protected override bool DI_FailBegin()

protected override void DI_Disable()
{
chute.fullyDeployedDrag /= 2;
chute.semiDeployedDrag /= 2;
;
}


protected override void DI_EvaRepair()
{
chute.fullyDeployedDrag *= 2;
chute.semiDeployedDrag *= 2;
;
}

protected override void DI_Update(){
if (this.HasFailed) {
chute.deploymentState = ModuleParachute.deploymentStates.SEMIDEPLOYED;
chute.Deploy ();
}
}
}
}
Expand Down

0 comments on commit 094b362

Please sign in to comment.