made save function absolute

This commit is contained in:
EntireTwix 2021-07-05 18:49:13 -07:00
parent 94fce9cd1f
commit 597a710e2b

View file

@ -250,10 +250,6 @@ BankResponse Bank::DelUser(const std::string &name) noexcept
} }
void Bank::Save() void Bank::Save()
{ {
#if CONSERVATIVE_DISK_SAVE
if (GetChangeState())
{
#endif
Json::Value temp; Json::Value temp;
//loading info into json temp //loading info into json temp
@ -282,8 +278,6 @@ void Bank::Save()
save_flag.SetChangesOff(); save_flag.SetChangesOff();
#else #else
save_flag = true; save_flag = true;
#endif
}
#endif #endif
} }