1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Fix REPL write line on Linux

This commit is contained in:
Ted John
2021-02-13 00:15:27 +00:00
parent 05cb106ee7
commit 3f5698b1e0
15 changed files with 82 additions and 30 deletions

View File

@@ -528,7 +528,7 @@ void ScriptEngine::SetupHotReloading()
}
catch (const std::exception& e)
{
std::fprintf(stderr, "Unable to enable hot reloading of plugins: %s\n", e.what());
Console::Error::WriteLine("Unable to enable hot reloading of plugins: %s", e.what());
}
}
@@ -1199,7 +1199,7 @@ void ScriptEngine::LoadSharedStorage()
}
catch (const std::exception&)
{
fprintf(stderr, "Unable to read '%s'\n", path.c_str());
Console::Error::WriteLine("Unable to read '%s'", path.c_str());
}
}
@@ -1216,7 +1216,7 @@ void ScriptEngine::SaveSharedStorage()
}
catch (const std::exception&)
{
fprintf(stderr, "Unable to write to '%s'\n", path.c_str());
Console::Error::WriteLine("Unable to write to '%s'", path.c_str());
}
}