Skip to content

Commit

Permalink
Merge branch 'master' of github.com:wesnoth/wesnoth
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Oct 30, 2017
2 parents 5f0bdb4 + cf4788c commit 330bbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripting/lua_audio.cpp
Expand Up @@ -98,7 +98,7 @@ static int impl_music_get(lua_State* L) {
if(strcmp(m, "current_i") == 0) {
auto current_index = sound::get_current_track_index();
if(current_index) {
lua_pushinteger(L, current_index.value() + 1);
lua_pushinteger(L, current_index.get() + 1);
} else {
lua_pushnil(L);
}
Expand Down

0 comments on commit 330bbce

Please sign in to comment.