infobar: rework infobar timeout behavior

Options were sometimes described ambiguously and previous behavior was no longer available.
Now the descriptions should be more plausible for current behavior.
This commit is contained in:
2018-04-10 10:25:24 +02:00
parent 6f02799b03
commit 557805bc40
12 changed files with 91 additions and 38 deletions

View File

@@ -136,7 +136,7 @@ int CLuaInstHintbox::HintboxExec(lua_State *L)
neutrino_msg_data_t data;
if ( timeout == -1 )
timeout = 5; /// default timeout 5 sec
//timeout = g_settings.timing[SNeutrinoSettings::TIMING_INFOBAR];
//timeout = g_settings.handling_infobar[SNeutrinoSettings::HANDLING_INFOBAR];
uint64_t timeoutEnd = CRCInput::calcTimeoutEnd(timeout);