Fix wrong formula
Alayan said: +25% and +15s
This commit is contained in:
parent
304787f106
commit
5b62d03323
@ -600,7 +600,7 @@ void cmdLineHelp()
|
||||
" --max-players=n Maximum number of clients (server only).\n"
|
||||
" --motd Message showing in all lobby of clients, can specify a .txt file.\n"
|
||||
" --auto-end Automatically end network game after 1st player finished\n"
|
||||
" for some time (currently his finished time * 1.25 + 15.0). \n"
|
||||
" for some time (currently his finished time * 0.25 + 15.0). \n"
|
||||
" --no-validation Allow non validated and unencrypted connection in wan.\n"
|
||||
" --ranked Server will submit ranking to stk addons server.\n"
|
||||
" You require permission for that.\n"
|
||||
|
@ -456,7 +456,7 @@ void LinearWorld::newLap(unsigned int kart_index)
|
||||
NetworkConfig::get()->isAutoEnd() &&
|
||||
m_finish_timeout == std::numeric_limits<float>::max())
|
||||
{
|
||||
m_finish_timeout = finish_time * 1.25f + 15.0f;
|
||||
m_finish_timeout = finish_time * 0.25f + 15.0f;
|
||||
}
|
||||
kart->finishedRace(finish_time);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user