[svn] Savefiles not found (Ubuntu Linux)

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Noel
Thalore
Posts: 121
Joined: Fri Dec 15, 2006 1:49 am

[svn] Savefiles not found (Ubuntu Linux)

#1 Post by Noel »

With r4754 compiled under Ubuntu Linux, Load Game does not list any savefiles, even though there are valid savefiles.

Appending a directory separator to the fs.mount() in game/engines/default/engine/Module.lua makes the savefiles appear as they should.

Code: Select all

===================================================================
--- game/engines/default/engine/Module.lua	(revision 4754)
+++ game/engines/default/engine/Module.lua	(working copy)
@@ -172,7 +172,7 @@
 -- Static
 function _M:listSavefiles(moddir_filter)
 	local allmounts = fs.getSearchPath(true)
-	fs.mount(engine.homepath, "/tmp/listsaves")
+	fs.mount(engine.homepath..fs.getPathSeparator(), "/tmp/listsaves")
 
 	local mods = self:listModules(nil, moddir_filter)
 	for _, mod in ipairs(mods) do

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: [svn] Savefiles not found (Ubuntu Linux)

#2 Post by darkgod »

Uh weird .. well fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply