Commit 0da6e8b6 authored by Simon Goller's avatar Simon Goller
Browse files

Fix auto-jump to Heaven in development mode

parent 5a09f611
......@@ -25,7 +25,7 @@ impl gamestate::State for MainMenuState {
// In debug builds, skip the main menu and go straight to heaven. This eases iterative
// development because one does not need to click "Play Game" every time ...
if cfg!(debug_assertions) {
gamestate::Transition::push(states::HeavenState::new(None))
gamestate::Transition::push(states::HeavenState::new())
} else {
gamestate::Transition::Sleep
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment