[Fix] Sh*t! Fixed game not saving.
This commit is contained in:
parent
01b18c722e
commit
79aaac64ad
@ -83,7 +83,7 @@ int save_all(void) {
|
|||||||
xmlw_endElem(writer); /* lephisto_save. */
|
xmlw_endElem(writer); /* lephisto_save. */
|
||||||
xmlw_done(writer);
|
xmlw_done(writer);
|
||||||
|
|
||||||
if(lfile_dirMakeExist("saves") < 0) {
|
if(lfile_dirMakeExist("%ssaves", lfile_basePath()) < 0) {
|
||||||
WARN("Aborting save...");
|
WARN("Aborting save...");
|
||||||
xmlFreeTextWriter(writer);
|
xmlFreeTextWriter(writer);
|
||||||
xmlFreeDoc(doc);
|
xmlFreeDoc(doc);
|
||||||
|
Loading…
Reference in New Issue
Block a user