Commit b1ce5af
Add return statement after pausing the game (#231)
After Pause mode kicks in, we don't need to run the rest of this function. I was hitting a crash because the checks below this part were still executing
Co-authored-by: Simon (Darkside) Jackson <[email protected]>1 parent 899b48b commit b1ce5af
File tree
1 file changed
+2
-1
lines changed- articles/tutorials/building_2d_games/20_implementing_ui_with_gum/snippets/gamescene
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
0 commit comments