Update an outdated method name in error message

set_enable_monitoring -> set_monitoring
This commit is contained in:
ronroniv 2018-02-07 12:32:05 +09:00 committed by GitHub
parent b0a73077cb
commit 5e8f7c9782
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) if (p_enable == monitoring)
return; return;
if (locked) { 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); ERR_FAIL_COND(locked);