diff options
| author | Juan Linietsky | 2017-02-06 00:38:39 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-02-06 00:38:39 -0300 |
| commit | 6f2e16306a6552d704fb2346c9abdd26e0e523b7 (patch) | |
| tree | e1fadf2a05d6f04675045b9e34128ed96628e07c /core/globals.cpp | |
| parent | af3fabeb7745e6f7f4e7fe7a299bdd234fff26a6 (diff) | |
| download | godot-6f2e16306a6552d704fb2346c9abdd26e0e523b7.tar.gz godot-6f2e16306a6552d704fb2346c9abdd26e0e523b7.tar.zst godot-6f2e16306a6552d704fb2346c9abdd26e0e523b7.zip | |
Diffstat (limited to 'core/globals.cpp')
| -rw-r--r-- | core/globals.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/globals.cpp b/core/globals.cpp index e748f561f..ed0b6f6d8 100644 --- a/core/globals.cpp +++ b/core/globals.cpp @@ -125,6 +125,7 @@ bool GlobalConfig::_set(const StringName& p_name, const Variant& p_value) { _THREAD_SAFE_METHOD_ + if (p_value.get_type()==Variant::NIL) props.erase(p_name); else { |
