Update an outdated method name in error message
set_enable_monitoring -> set_monitoring
This commit is contained in:
parent
b0a73077cb
commit
5e8f7c9782
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue