summaryrefslogtreecommitdiff
path: root/servers/physics_2d/joints_2d_sw.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-12-29 16:39:24 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2020-01-03 11:41:46 +0100
commitcc626acf45c305ffa1bf98013a6bfcb767d703d4 (patch)
treee2c1604acb07eefe0aa7a67559832cc56ede6629 /servers/physics_2d/joints_2d_sw.cpp
parent9d3424f61ddd1e6bec78381aa4a0c6acec53d290 (diff)
Add a shorthand for setting the exit code using `SceneTree::quit()`
This reduces the amount of code required to exit a process with a non-zero exit code. This pattern is also found in most other programming languages.
Diffstat (limited to 'servers/physics_2d/joints_2d_sw.cpp')
0 files changed, 0 insertions, 0 deletions