Fixed issue with two underscores appearing in export save files
git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1635 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
parent
5f9e37500a
commit
bae834b2de
1 changed files with 2 additions and 2 deletions
|
@ -271,6 +271,7 @@ void PauseMenuOnSelect(VariantList *pVList) //0=vec2 point of click, 1=entity se
|
|||
string prepend = g_dglo.m_dmodGameDir;
|
||||
|
||||
if (prepend.empty()) prepend = "dink";
|
||||
prepend = RemoveTrailingBackslash(prepend);
|
||||
#ifdef PLATFORM_HTML5
|
||||
|
||||
HTMLDownloadFileFromFileSystem(DinkGetSavePath() + "quicksave.dat", prepend + "_quicksave.dat");
|
||||
|
@ -289,9 +290,8 @@ void PauseMenuOnSelect(VariantList *pVList) //0=vec2 point of click, 1=entity se
|
|||
|
||||
#ifdef PLATFORM_HTML5
|
||||
HTMLUploadFileToFileSystem();
|
||||
// HTMLDownloadFileFromFileSystem(DinkGetSavePath() + "quicksave.dat", g_dglo.m_dmodGameDir + "_quicksave.dat");
|
||||
#else
|
||||
|
||||
LogMsg("Um, not a browser version, what are we supposed to do here? Here's a way to just loading a quicksave for testing though.");
|
||||
GetMessageManager()->SendGUIStringEx(MESSAGE_TYPE_HTML5_GOT_UPLOAD, 0, 0, 0, "purpoise_quicksave.dat", 0);
|
||||
#endif
|
||||
PauseEnd(pMenu);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue