diff options
| author | Juan Linietsky | 2015-05-01 10:44:08 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-05-01 10:44:08 -0300 |
| commit | 4804462ee06c1b3e2d1b50b857ce8693d3c0936d (patch) | |
| tree | 5d1d06399c5ce28f27253943f35ef4a11d3ac633 /core/variant_op.cpp | |
| parent | af42e244e0c41c92b6eeab379f7ba68869dbd0a9 (diff) | |
| download | godot-4804462ee06c1b3e2d1b50b857ce8693d3c0936d.tar.gz godot-4804462ee06c1b3e2d1b50b857ce8693d3c0936d.tar.zst godot-4804462ee06c1b3e2d1b50b857ce8693d3c0936d.zip | |
-Fixes from source code analyzizer, closes #1768
Diffstat (limited to 'core/variant_op.cpp')
| -rw-r--r-- | core/variant_op.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant_op.cpp b/core/variant_op.cpp index dafe3bd02..f68652b8c 100644 --- a/core/variant_op.cpp +++ b/core/variant_op.cpp @@ -2433,7 +2433,7 @@ Variant Variant::get(const Variant& p_index, bool *r_valid) const { } else if (str == "pressed") { valid=true; - ie.action.pressed; + return ie.action.pressed; } } |
