Browse Source

Fix love.filesystem.mount(data). Resolves issue #1506.

Alex Szpakowski 6 years ago
parent
commit
639bdb10e9
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/modules/filesystem/wrap_Filesystem.cpp

+ 1 - 0
src/modules/filesystem/wrap_Filesystem.cpp

@@ -138,6 +138,7 @@ int w_mount(lua_State *L)
 		bool append = luax_optboolean(L, startidx + 1, false);
 
 		luax_pushboolean(L, instance()->mount(data, archive.c_str(), mountpoint, append));
+		return 1;
 	}
 	else if (luax_istype(L, 1, DroppedFile::type))
 	{