mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-21 05:14:10 +00:00
Do not allow 0 update rate
This commit is contained in:
parent
03a92b3a91
commit
b6f9a21d7f
1 changed files with 2 additions and 1 deletions
|
@ -152,7 +152,8 @@ void MasterClient::Update()
|
||||||
{
|
{
|
||||||
LOG_MESSAGE_SIMPLE(Log::LOG_WARN, "Update rate is too low, and the master server has deleted information about"
|
LOG_MESSAGE_SIMPLE(Log::LOG_WARN, "Update rate is too low, and the master server has deleted information about"
|
||||||
" the server. Trying low rate...");
|
" the server. Trying low rate...");
|
||||||
SetUpdateRate(timeout - step_rate);
|
if((timeout - step_rate) >= step_rate)
|
||||||
|
SetUpdateRate(timeout - step_rate);
|
||||||
update = false;
|
update = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue