summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_analyzer.cpp
diff options
context:
space:
mode:
authorHaoyu Qiu <timothyqiu32@gmail.com>2023-03-16 15:06:57 +0800
committerHaoyu Qiu <timothyqiu32@gmail.com>2023-03-16 15:06:57 +0800
commitcb0fa0ed7b6b5e953f820a762979d1d35c12b8ee (patch)
tree918345f0d03665d9dd90f25ff30db0d67c866119 /modules/gdscript/gdscript_analyzer.cpp
parente01b82857575b780dcc4788d18f128127aa8e484 (diff)
downloadredot-engine-cb0fa0ed7b6b5e953f820a762979d1d35c12b8ee.tar.gz
Fix error when opening Inspector's dots menu
When the inspector is empty, opening the "extra resource options" menu produces a error: > Condition "current_res.is_null()" is true. Opening the mneu with no current resource is valid use case, so `ERR_FAIL_COND` should not be used.
Diffstat (limited to 'modules/gdscript/gdscript_analyzer.cpp')
0 files changed, 0 insertions, 0 deletions