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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user