1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-01 15:35:47 +00:00

oops, spam a little less

This commit is contained in:
fgenesis 2022-04-07 03:14:54 +02:00
parent a97b1bbd5c
commit b1611d4870

View file

@ -255,6 +255,7 @@ bool exists(const std::string &f, bool makeFatal, bool skipVFS)
void exit_error(const std::string &message) void exit_error(const std::string &message)
{ {
fprintf(stderr, "FATAL: %s\n", message.c_str());
errorLog(message); errorLog(message);
exit(1); exit(1);
} }
@ -268,7 +269,6 @@ bool chance(int perc)
void errorLog(const std::string &s) void errorLog(const std::string &s)
{ {
fputs(s.c_str(), stderr); fputc('\n', stderr);
if (core) if (core)
{ {
core->errorLog(s); core->errorLog(s);