Update an outdated method name in error message

set_enable_monitoring -> set_monitoring

(cherry picked from commit 5e8f7c9782)
This commit is contained in:
ronroniv 2018-02-07 12:32:05 +09:00 committed by Hein-Pieter van Braam
parent 47b49200b0
commit 5b32be4701
1 changed files with 1 additions and 1 deletions

View File

@ -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);