summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorronroniv <25771553+ronroniv@users.noreply.github.com>2018-02-07 12:32:05 +0900
committerGitHub <noreply@github.com>2018-02-07 12:32:05 +0900
commit5e8f7c9782c336d2afef9a8d3a80483894a10e2b (patch)
tree53dedd518c324918be405a06b339659675ca0184 /scene/2d
parentb0a73077cb8395ad39124dd08490195adbfb90c9 (diff)
Update an outdated method name in error message
set_enable_monitoring -> set_monitoring
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/area_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/area_2d.cpp b/scene/2d/area_2d.cpp
index 6fff7ac0a4..bb914b90fc 100644
--- a/scene/2d/area_2d.cpp
+++ b/scene/2d/area_2d.cpp
@@ -399,7 +399,7 @@ void Area2D::set_monitoring(bool p_enable) {
if (p_enable == monitoring)
return;
if (locked) {
- ERR_EXPLAIN("Function blocked during in/out signal. Use call_deferred(\"set_enable_monitoring\",true/false)");
+ ERR_EXPLAIN("Function blocked during in/out signal. Use call_deferred(\"set_monitoring\",true/false)");
}
ERR_FAIL_COND(locked);