Expose AudioServer::free(RID rid) as AudioServer::free_rid(RID rid)
to avoid script error due to collision with Object method free
This commit is contained in:
parent
b2f9acb8c9
commit
203f069329
2 changed files with 2 additions and 2 deletions
|
@ -1502,7 +1502,7 @@
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="free">
|
||||
<method name="free_rid">
|
||||
<argument index="0" name="rid" type="RID">
|
||||
</argument>
|
||||
<description>
|
||||
|
|
|
@ -132,7 +132,7 @@ void AudioServer::_bind_methods() {
|
|||
|
||||
ObjectTypeDB::bind_method(_MD("voice_stop","voice"), &AudioServer::voice_stop );
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("free","rid"), &AudioServer::free );
|
||||
ObjectTypeDB::bind_method(_MD("free_rid","rid"), &AudioServer::free );
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("set_stream_global_volume_scale","scale"), &AudioServer::set_stream_global_volume_scale );
|
||||
ObjectTypeDB::bind_method(_MD("get_stream_global_volume_scale"), &AudioServer::get_stream_global_volume_scale );
|
||||
|
|
Loading…
Reference in a new issue