summaryrefslogtreecommitdiff
path: root/modules/mpc/audio_stream_mpc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mpc/audio_stream_mpc.cpp')
-rw-r--r--modules/mpc/audio_stream_mpc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mpc/audio_stream_mpc.cpp b/modules/mpc/audio_stream_mpc.cpp
index befb8ea291..d8572d3b5d 100644
--- a/modules/mpc/audio_stream_mpc.cpp
+++ b/modules/mpc/audio_stream_mpc.cpp
@@ -351,8 +351,8 @@ void AudioStreamPlaybackMPC::seek_pos(float p_time) {
void AudioStreamPlaybackMPC::_bind_methods() {
- ObjectTypeDB::bind_method(_MD("set_file","name"),&AudioStreamPlaybackMPC::set_file);
- ObjectTypeDB::bind_method(_MD("get_file"),&AudioStreamPlaybackMPC::get_file);
+ ClassDB::bind_method(_MD("set_file","name"),&AudioStreamPlaybackMPC::set_file);
+ ClassDB::bind_method(_MD("get_file"),&AudioStreamPlaybackMPC::get_file);
ADD_PROPERTYNZ( PropertyInfo(Variant::STRING,"file",PROPERTY_HINT_FILE,"mpc"), _SCS("set_file"), _SCS("get_file"));