Skip to content

Commit

Permalink
Remove unused completion if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
dyceron committed Aug 9, 2024
1 parent e7dc820 commit eba49ea
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/open_samus_returns_rando/files/custom/scenario.lua
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,7 @@ end

function Scenario.OnPostCreditsEnd()
Game.SaveGameComplete()
if CurrentScenario.bFirstTimeCompleted then
Game.StopEnvironmentSound()
Game.AddGUISF(2.5, GUI.MainMenuGoToState, "i", 28)
else
Game.GoToMainMenu()
end
Game.GoToMainMenu()
end

Scenario.QueuedPopups = Scenario.QueuedPopups or Queue()
Expand Down

0 comments on commit eba49ea

Please sign in to comment.