Skip to content

Commit 1fdb25f

Browse files
file paths are hard
1 parent 67a8839 commit 1fdb25f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Etterna/Globals/MinaCalc.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ static const float basescalers[NUM_Skillset] = { 0.f, 0.97f, 0.875f, 0.89f,
369369
bool debug_lmao = false;
370370

371371
#pragma region patternmodparamstuff
372-
static const std::string calc_params_xml = "calc params.xml";
372+
static const std::string calc_params_xml = "Save/calc params.xml";
373373

374374
#pragma endregion
375375

@@ -1625,7 +1625,7 @@ RunningMen::advance_sequencing(const metanoteinfo& mni)
16251625
inline void
16261626
RunningMen::floop()
16271627
{
1628-
std::string fn = "Save/" + calc_params_xml;
1628+
std::string fn = calc_params_xml;
16291629
int iError;
16301630
std::unique_ptr<RageFileBasic> pFile(
16311631
FILEMAN->Open(fn, RageFile::READ, iError));
@@ -1663,9 +1663,9 @@ SavePatternModParamXmlToDir()
16631663
{
16641664
RunningMen zoop;
16651665

1666-
string fn = "Save/" + calc_params_xml;
1667-
unique_ptr<XNode> xml(zoop.CreateParamNode());
1668-
string err;
1666+
std::string fn = calc_params_xml;
1667+
std::unique_ptr<XNode> xml(zoop.CreateParamNode());
1668+
std::string err;
16691669
RageFile f;
16701670
if (!f.Open(fn, RageFile::WRITE))
16711671
return;
@@ -5100,7 +5100,7 @@ MinaSDCalcDebug(const vector<NoteInfo>& NoteInfo,
51005100

51015101
handInfo.emplace_back(debugRun->left_hand.debugValues);
51025102
handInfo.emplace_back(debugRun->right_hand.debugValues);
5103-
if(!DoesFileExist("Save/" + calc_params_xml))
5103+
if(!DoesFileExist(calc_params_xml))
51045104
SavePatternModParamXmlToDir();
51055105
}
51065106
#pragma endregion

0 commit comments

Comments
 (0)