use non-interactive console when calling dfhack.init in TEXT mode

develop
jj 2014-01-27 15:10:12 +01:00
parent 6b6164c099
commit 6ad8d128ba
1 changed files with 2 additions and 2 deletions

@ -816,8 +816,8 @@ void fInitthread(void * iodata)
{ {
IODATA * iod = ((IODATA*) iodata); IODATA * iod = ((IODATA*) iodata);
Core * core = iod->core; Core * core = iod->core;
Console & con = core->getConsole(); color_ostream_proxy out(core->getConsole());
core->loadScriptFile(con, "dfhack.init", true); core->loadScriptFile(out, "dfhack.init", true);
} }
// A thread function... for the interactive console. // A thread function... for the interactive console.