Skip to content

Commit b9b98bd

Browse files
committed
Update ModuleAutoCutDrogue.cs
- Reversed if in repack chute event so simple boolean gets evaluated first, might save a tiny amount of time.
1 parent 926b59a commit b9b98bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Modules/ModuleAutoCutDrogue.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private void OnParachuteDeployed(ModuleParachute pChute)
6868

6969
private void OnParachuteRepacked(ModuleParachute pChute)
7070
{
71-
if (pChute == chute && triggered) triggered = false;
71+
if (triggered && pChute == chute) triggered = false;
7272
}
7373
}
7474

0 commit comments

Comments
 (0)