Skip to content

Commit 6ac29f6

Browse files
authored
Update Functions-(Other).md
1 parent 0c9361d commit 6ac29f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/6.3/Functions-(Other).md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ _input_count_previous = _len;
207207

208208
```gml
209209
//Pause if focus is lost
210-
if (!input_window_has_focus() && !game_paused)
210+
if (!input_window_has_focus())
211211
{
212-
game_paused = true;
212+
game_pause();
213213
}
214214
```
215215

0 commit comments

Comments
 (0)