diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-09-27 14:34:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 14:34:18 +0200 |
commit | 8d2deddc72b14fa3daa1dcb170c3b3d9a6adf26f (patch) | |
tree | bec992e364c95ad627f9083491141b53dffcc6a6 | |
parent | a98453670c8afd33af779782bfa904f838f13e43 (diff) | |
parent | ee238b2a4d967dfe42358933897adc72ac8254ae (diff) |
Merge pull request #53124 from RandomShaper/fix_inverted_error
-rw-r--r-- | modules/gdscript/gdscript_vm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_vm.cpp b/modules/gdscript/gdscript_vm.cpp index 9ea9fc61de..8a4c647bcd 100644 --- a/modules/gdscript/gdscript_vm.cpp +++ b/modules/gdscript/gdscript_vm.cpp @@ -88,9 +88,9 @@ static String _get_var_type(const Variant *p_var) { Object *bobj = p_var->get_validated_object_with_check(was_freed); if (!bobj) { if (was_freed) { - basestr = "null instance"; - } else { basestr = "previously freed"; + } else { + basestr = "null instance"; } } else { basestr = bobj->get_class(); |