summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex <alxpla123@gmail.com>2016-04-18 08:16:46 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-04-18 08:16:46 +0200
commite566b17f91a7c8e341793d2b07a0127a92c4391f (patch)
treea7b00964700f340e6b43801c7cc8de9b862a37dc
parent6b41544a3955c71ffe6882e9494c48d8f0a59451 (diff)
downloadredot-engine-e566b17f91a7c8e341793d2b07a0127a92c4391f.tar.gz
tiny fix to loop restart (#4358)
Closes #4355
-rw-r--r--scene/audio/stream_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/audio/stream_player.cpp b/scene/audio/stream_player.cpp
index b6b1ee85f3..050e945c8f 100644
--- a/scene/audio/stream_player.cpp
+++ b/scene/audio/stream_player.cpp
@@ -388,7 +388,7 @@ void StreamPlayer::_bind_methods() {
ADD_PROPERTY( PropertyInfo(Variant::REAL, "stream/volume_db", PROPERTY_HINT_RANGE,"-80,24,0.01"), _SCS("set_volume_db"), _SCS("get_volume_db") );
ADD_PROPERTY( PropertyInfo(Variant::BOOL, "stream/autoplay"), _SCS("set_autoplay"), _SCS("has_autoplay") );
ADD_PROPERTY( PropertyInfo(Variant::BOOL, "stream/paused"), _SCS("set_paused"), _SCS("is_paused") );
- ADD_PROPERTY( PropertyInfo(Variant::INT, "stream/loop_restart_time"), _SCS("set_loop_restart_time"), _SCS("get_loop_restart_time") );
+ ADD_PROPERTY( PropertyInfo(Variant::REAL, "stream/loop_restart_time"), _SCS("set_loop_restart_time"), _SCS("get_loop_restart_time") );
ADD_PROPERTY( PropertyInfo(Variant::INT, "stream/buffering_ms"), _SCS("set_buffering_msec"), _SCS("get_buffering_msec") );
ADD_SIGNAL(MethodInfo("finished"));