Skip to content

Commit 9b2a79f

Browse files
committed
Update random seed on each restart
1 parent 76afb08 commit 9b2a79f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/Wasm_PyBadge_Dino/Wasm_PyBadge_Dino.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ void setup()
162162
//NVIC_SystemReset();
163163

164164
// Restart Dino game
165+
init_random();
165166
display_info();
166167
load_wasm();
167168
delay(100);

0 commit comments

Comments
 (0)