summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/os/input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/input.cpp b/core/os/input.cpp
index e732eac323..d7c0d86d64 100644
--- a/core/os/input.cpp
+++ b/core/os/input.cpp
@@ -283,7 +283,7 @@ Point2 InputDefault::get_mouse_speed() const {
int InputDefault::get_mouse_button_mask() const {
- OS::get_singleton()->get_mouse_button_state();
+ return OS::get_singleton()->get_mouse_button_state();
}