Flush plugin warning messages

develop
lethosor 2020-08-06 22:45:46 -04:00
parent ed9f724117
commit 498fd9a1a6
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
1 changed files with 2 additions and 2 deletions

@ -316,8 +316,8 @@ bool Plugin::load(color_ostream &con)
{ {
std::string msg = stl_sprintf("Warning: Plugin %s compiled for DFHack %s, running DFHack %s\n", std::string msg = stl_sprintf("Warning: Plugin %s compiled for DFHack %s, running DFHack %s\n",
*plug_name, plug_git_desc, dfhack_git_desc); *plug_name, plug_git_desc, dfhack_git_desc);
con << msg; con << msg << flush;
cerr << msg; cerr << msg << flush;
} }
} }
else else