diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-11 14:34:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-11 14:34:18 +0100 |
commit | d40d86b959eea69cea16199390243abdbaa24621 (patch) | |
tree | bec5aba288d12b7a172cea7ef17d40937604cd8d /modules | |
parent | dcd2364dacc6c0af2e949ca34dd6e7f6e75e7d5c (diff) | |
parent | 0c46f73b5e5e89ba8fbe1f2294f203b5e9df2d0a (diff) |
Merge pull request #56667 from Ice-Cube69/fix_incorrect_property_types
Diffstat (limited to 'modules')
-rw-r--r-- | modules/websocket/websocket_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/websocket/websocket_server.cpp b/modules/websocket/websocket_server.cpp index b7249e4243..b3f0140b80 100644 --- a/modules/websocket/websocket_server.cpp +++ b/modules/websocket/websocket_server.cpp @@ -67,7 +67,7 @@ void WebSocketServer::_bind_methods() { ClassDB::bind_method(D_METHOD("get_handshake_timeout"), &WebSocketServer::get_handshake_timeout); ClassDB::bind_method(D_METHOD("set_handshake_timeout", "timeout"), &WebSocketServer::set_handshake_timeout); - ADD_PROPERTY(PropertyInfo(Variant::BOOL, "handshake_timeout"), "set_handshake_timeout", "get_handshake_timeout"); + ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "handshake_timeout"), "set_handshake_timeout", "get_handshake_timeout"); ADD_SIGNAL(MethodInfo("client_close_request", PropertyInfo(Variant::INT, "id"), PropertyInfo(Variant::INT, "code"), PropertyInfo(Variant::STRING, "reason"))); ADD_SIGNAL(MethodInfo("client_disconnected", PropertyInfo(Variant::INT, "id"), PropertyInfo(Variant::BOOL, "was_clean_close"))); |