mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-28 19:23:53 +00:00
oops, spam a little less
This commit is contained in:
parent
a97b1bbd5c
commit
b1611d4870
1 changed files with 1 additions and 1 deletions
|
@ -255,6 +255,7 @@ bool exists(const std::string &f, bool makeFatal, bool skipVFS)
|
|||
|
||||
void exit_error(const std::string &message)
|
||||
{
|
||||
fprintf(stderr, "FATAL: %s\n", message.c_str());
|
||||
errorLog(message);
|
||||
exit(1);
|
||||
}
|
||||
|
@ -268,7 +269,6 @@ bool chance(int perc)
|
|||
|
||||
void errorLog(const std::string &s)
|
||||
{
|
||||
fputs(s.c_str(), stderr); fputc('\n', stderr);
|
||||
if (core)
|
||||
{
|
||||
core->errorLog(s);
|
||||
|
|
Loading…
Reference in a new issue