Update an outdated method name in error message
set_enable_monitoring -> set_monitoring
This commit is contained in:
parent
b0a73077cb
commit
5e8f7c9782
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue