summaryrefslogtreecommitdiff
path: root/servers/physics_server_2d_wrap_mt.h
diff options
context:
space:
mode:
authorrafallus <rafaelmtzg@gmail.com>2021-10-31 15:45:58 -0600
committerrafallus <rafaelmtzg@gmail.com>2021-11-01 21:53:17 -0600
commit770e3a8e5150a32d9a9955b7e4b176249cd8f6b9 (patch)
tree7ba2523e18ab202ef2741515382222a62d323003 /servers/physics_server_2d_wrap_mt.h
parent455e027725668742a52e08a173ea337a3c416b25 (diff)
Use `Callable` in Area monitor callback
Diffstat (limited to 'servers/physics_server_2d_wrap_mt.h')
-rw-r--r--servers/physics_server_2d_wrap_mt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/servers/physics_server_2d_wrap_mt.h b/servers/physics_server_2d_wrap_mt.h
index 4a2f07ab1e..b133fa41aa 100644
--- a/servers/physics_server_2d_wrap_mt.h
+++ b/servers/physics_server_2d_wrap_mt.h
@@ -165,8 +165,8 @@ public:
FUNC2(area_set_monitorable, RID, bool);
FUNC2(area_set_pickable, RID, bool);
- FUNC3(area_set_monitor_callback, RID, Object *, const StringName &);
- FUNC3(area_set_area_monitor_callback, RID, Object *, const StringName &);
+ FUNC2(area_set_monitor_callback, RID, const Callable &);
+ FUNC2(area_set_area_monitor_callback, RID, const Callable &);
/* BODY API */