Merge pull request #1069 from SiboVG/issue-997

[fixes #997] Fix Photo Studio exhaust effects starting at top stage
This commit is contained in:
Joe Pfeiffer 2022-01-11 19:55:33 -07:00 committed by GitHub
commit 7fdd0ed5c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -422,7 +422,7 @@ public class PhotoPanel extends JPanel implements GLEventListener {
AxialStage bottomStage = configuration.getBottomStage();
int bottomStageNumber = 0;
if (bottomStage != null)
bottomStage.getStageNumber();
bottomStageNumber = bottomStage.getStageNumber();
//final int currentStageNumber = configuration.getActiveStages()[configuration.getActiveStages().length-1];
//final AxialStage currentStage = (AxialStage)configuration.getRocket().getChild( bottomStageNumber);