summaryrefslogtreecommitdiff
path: root/core/os/os.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/os/os.cpp')
-rw-r--r--core/os/os.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/os/os.cpp b/core/os/os.cpp
index 182bab4058..8af141ef2f 100644
--- a/core/os/os.cpp
+++ b/core/os/os.cpp
@@ -226,6 +226,11 @@ int OS::get_exit_code() const {
void OS::set_exit_code(int p_code) {
_exit_code = p_code;
+ _is_custom_exit_code = true;
+}
+
+bool OS::is_custom_exit_code() {
+ return _is_custom_exit_code;
}
String OS::get_locale() const {