Skip to content

Commit

Permalink
ensure ".rap" files are written to subdirectory for rameka
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamiras committed Sep 10, 2018
1 parent a6e9b80 commit 044bec8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions RAMeka/meka/srcs/saves.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@ void SaveState_Save()
fclose (f);
}


StrPath_RemoveDirectory (buf);
//#RA
RAMeka_RA_OnSaveStateSave(buf);

StrPath_RemoveDirectory(buf);

switch (result)
{
case 1: Msg(MSGT_USER, Msg_Get(MSG_Save_Success), buf);
Expand Down Expand Up @@ -218,13 +218,11 @@ void SaveState_Load()
fclose (f);
}



StrPath_RemoveDirectory (buf);

//#RA
RAMeka_RA_OnSaveStateLoad(buf);

StrPath_RemoveDirectory(buf);

switch (result)
{
case 1: Msg(MSGT_USER, Msg_Get(MSG_Load_Success), buf);
Expand Down

0 comments on commit 044bec8

Please sign in to comment.