Fix luaopen_lovr_filesystem stack index;

This commit is contained in:
bjorn 2021-02-25 16:29:52 -07:00
parent f82e8112fe
commit d1a2ded4db
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ int luaopen_lovr_filesystem(lua_State* L) {
lua_getglobal(L, "arg");
if (lua_istable(L, -1)) {
lua_rawgeti(L, -2, 0);
lua_rawgeti(L, -1, 0);
archive = lua_tostring(L, -1);
lua_pop(L, 1);
}