diff options
author | volzhs <volzhs@gmail.com> | 2015-07-01 15:13:10 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2015-07-01 15:13:10 +0900 |
commit | f6668dc9db34fc4a3ef9e9e309e0fc248c3f51a8 (patch) | |
tree | 0c9a6e5cd8b6d3fdfab3cb6aff41458a08841133 /scene/audio/sample_player.cpp | |
parent | 903e6b37c0ed94cd0b3447dd3ff471abbfaa4460 (diff) | |
parent | b4d5f7e154973e8fb93a9a0af6ffa0b065e2c50c (diff) |
Merge branch 'master' of https://github.com/okamstudio/godot into fix_android_payments
Diffstat (limited to 'scene/audio/sample_player.cpp')
-rw-r--r-- | scene/audio/sample_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/audio/sample_player.cpp b/scene/audio/sample_player.cpp index 25e83df39d..b93f7e7ddd 100644 --- a/scene/audio/sample_player.cpp +++ b/scene/audio/sample_player.cpp @@ -102,7 +102,7 @@ bool SamplePlayer::_get(const StringName& p_name,Variant &r_ret) const { r_ret= get_sample_library(); } else if (name.begins_with("default/")) { - String what=name.get_slice("/",1); + String what=name.get_slicec('/',1); if (what=="volume_db") r_ret= get_default_volume_db(); |