mirror of
https://github.com/love2d/love.git
synced 2026-08-21 13:09:56 +02:00
Fix love.filesystem.mount(data). Resolves issue #1506.
This commit is contained in:
@@ -138,6 +138,7 @@ int w_mount(lua_State *L)
|
|||||||
bool append = luax_optboolean(L, startidx + 1, false);
|
bool append = luax_optboolean(L, startidx + 1, false);
|
||||||
|
|
||||||
luax_pushboolean(L, instance()->mount(data, archive.c_str(), mountpoint, append));
|
luax_pushboolean(L, instance()->mount(data, archive.c_str(), mountpoint, append));
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
else if (luax_istype(L, 1, DroppedFile::type))
|
else if (luax_istype(L, 1, DroppedFile::type))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user