mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Update an outdated method name in error message
set_enable_monitoring -> set_monitoring
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user