From 5b32be4701f112685b3ee3f9436507a7d38b8537 Mon Sep 17 00:00:00 2001 From: ronroniv <25771553+ronroniv@users.noreply.github.com> Date: Wed, 7 Feb 2018 12:32:05 +0900 Subject: [PATCH] Update an outdated method name in error message set_enable_monitoring -> set_monitoring (cherry picked from commit 5e8f7c9782c336d2afef9a8d3a80483894a10e2b) --- scene/2d/area_2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/2d/area_2d.cpp b/scene/2d/area_2d.cpp index 6fff7ac0a48..bb914b90fc6 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);