Skip to content

Commit f0defb3

Browse files
committed
Load map before showing splash due to touching sparky.
1 parent 69d8c00 commit f0defb3

File tree

1 file changed

+2
-1
lines changed
  • Tilemap_Game_With_CircuitPython

1 file changed

+2
-1
lines changed

Tilemap_Game_With_CircuitPython/code.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,8 +617,9 @@ def show_splash(new_text, color, vertical_offset=18):
617617
"Be careful not to \ntouch Sparky unless \n"
618618
"you've collected \nenough Mho's.\nStarting Over"
619619
)
620-
show_splash(game_over_text, 0x25AFBB)
621620
load_map(MAPS[GAME_STATE["MAP_INDEX"]])
621+
show_splash(game_over_text, 0x25AFBB)
622+
622623
# talking to minerva
623624
elif GAME_STATE["STATE"] == STATE_MINERVA:
624625
GAME_STATE["STATE"] = STATE_WAITING

0 commit comments

Comments
 (0)