aboutsummaryrefslogtreecommitdiff
path: root/scene/2d/area_2d.cpp
diff options
context:
space:
mode:
authorronroniv2018-02-07 12:32:05 +0900
committerGitHub2018-02-07 12:32:05 +0900
commit5e8f7c9782c336d2afef9a8d3a80483894a10e2b (patch)
tree53dedd518c324918be405a06b339659675ca0184 /scene/2d/area_2d.cpp
parentb0a73077cb8395ad39124dd08490195adbfb90c9 (diff)
downloadgodot-5e8f7c9782c336d2afef9a8d3a80483894a10e2b.tar.gz
godot-5e8f7c9782c336d2afef9a8d3a80483894a10e2b.tar.zst
godot-5e8f7c9782c336d2afef9a8d3a80483894a10e2b.zip
Update an outdated method name in error message
set_enable_monitoring -> set_monitoring
Diffstat (limited to '')
-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 6fff7ac0a..bb914b90f 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);