mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-11-01 02:40:06 +00:00
Update most instances of current time to use a time offset
This commit is contained in:
parent
e0a4dee72b
commit
bd27d0e562
19 changed files with 48 additions and 38 deletions
|
|
@ -678,7 +678,7 @@ void TextEventManager::Impl::Refresh()
|
|||
// If the time jumps, we should attempt to load from no later than the
|
||||
// previous load time
|
||||
auto loadTime =
|
||||
std::chrono::floor<std::chrono::hours>(std::chrono::system_clock::now());
|
||||
std::chrono::floor<std::chrono::hours>(scwx::util::time::now());
|
||||
auto startTime = loadTime - loadHistoryDuration_;
|
||||
|
||||
if (prevLoadTime_ != std::chrono::sys_time<std::chrono::hours> {})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue