Cleanup some GLOBAL_DEFs

This commit is contained in:
kobewi 2023-08-24 22:39:40 +02:00
parent 5f1e56ff26
commit cd0aaab48c
7 changed files with 9 additions and 12 deletions

View file

@ -61,7 +61,7 @@ void WebRTCDataChannel::_bind_methods() {
}
WebRTCDataChannel::WebRTCDataChannel() {
_in_buffer_shift = nearest_shift((int)GLOBAL_GET(WRTC_IN_BUF) - 1) + 10;
_in_buffer_shift = nearest_shift((int)GLOBAL_GET("network/limits/webrtc/max_channel_in_buffer_kb") - 1) + 10;
}
WebRTCDataChannel::~WebRTCDataChannel() {