diff options
| author | ronroniv | 2018-02-07 12:32:05 +0900 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-02-19 22:13:46 +0100 |
| commit | 5b32be4701f112685b3ee3f9436507a7d38b8537 (patch) | |
| tree | 68689213ebd6d8d5a1a1c55b951058dfd3c54cf1 /scene/2d/area_2d.cpp | |
| parent | 47b49200b05a561186eabe894fc6feedb2c255dc (diff) | |
| download | godot-5b32be4701f112685b3ee3f9436507a7d38b8537.tar.gz godot-5b32be4701f112685b3ee3f9436507a7d38b8537.tar.zst godot-5b32be4701f112685b3ee3f9436507a7d38b8537.zip | |
Update an outdated method name in error message
set_enable_monitoring -> set_monitoring
(cherry picked from commit 5e8f7c9782c336d2afef9a8d3a80483894a10e2b)
Diffstat (limited to '')
| -rw-r--r-- | scene/2d/area_2d.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/area_2d.cpp b/scene/2d/area_2d.cpp index 6fff7ac0a..bb914b90f 100644 --- a/scene/2d/area_2d.cpp +++ b/scene/2d/area_2d.cpp @@ -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); |
