Change: Use seconds for Linkgraph update settings (#10610)

This commit is contained in:
Tyler Trahan
2023-04-14 16:49:12 -04:00
committed by GitHub
parent 0e915c830c
commit 646a7e625b
8 changed files with 37 additions and 22 deletions

View File

@@ -37,7 +37,7 @@ LinkGraphJob::LinkGraphJob(const LinkGraph &orig) :
* This is on purpose. */
link_graph(orig),
settings(_settings_game.linkgraph),
join_date(_date + _settings_game.linkgraph.recalc_time),
join_date(_date + (_settings_game.linkgraph.recalc_time / SECONDS_PER_DAY)),
job_completed(false),
job_aborted(false)
{