can i make godot purposely crash the game

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By spookycoopy

i just want godot to crash the game

Do you want it to crash or close the game?
Because if you close the game at a point the player won’t expect it,
they will think it crashed so you don’t even need to crash it.

Coxcopi | 2020-08-17 08:46

:bust_in_silhouette: Reply From: njamster

I cannot imagine any reason you’d want to crash a program on purpose other than reproducing a bug (which this is clearly not about!). So I assume your actual question is how to quit the game, in which case the answer is the following line of code:

1 Like