2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 13:11:22 +00:00

Workaround logvisor path issue

This commit is contained in:
Luke Street 2022-06-13 01:46:01 -04:00
parent 01e887e8a3
commit 2380361d16

View File

@ -551,6 +551,9 @@ int main(int argc, char** argv) {
args.emplace_back(argv[i]);
}
// FIXME: logvisor needs to copy this
std::string logFilePath;
bool restart = false;
do {
metaforce::CVarManager cvarMgr{fileMgr};
@ -572,7 +575,6 @@ int main(int argc, char** argv) {
}
std::string logFile = cvarCmns.getLogFile();
std::string logFilePath;
if (!logFile.empty()) {
std::time_t time = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
char buf[100];