Skip to content

Commit aced494

Browse files
fix improper lua indexing in getplaylists
1 parent 6bffed9 commit aced494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SongManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,7 @@ class LunaSongManager: public Luna<SongManager>
14271427

14281428
static int GetPlaylists(T* p, lua_State *L)
14291429
{
1430-
int idx = 0;
1430+
int idx = 1;
14311431
lua_newtable(L);
14321432
FOREACHM(string, Playlist, p->allplaylists, pl) {
14331433
pl->second.PushSelf(L);

0 commit comments

Comments
 (0)