html terminal
Diffstat (limited to 'src/bot/maps.rs')
| -rw-r--r-- | src/bot/maps.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bot/maps.rs b/src/bot/maps.rs index ad8bbcc..89e363c 100644 --- a/src/bot/maps.rs +++ b/src/bot/maps.rs @@ -87,7 +87,7 @@ impl MapImage { Ok( if self .1 - .fetch_update(Relaxed, Relaxed, |then| (now > then + 70).then(|| now)) + .fetch_update(Relaxed, Relaxed, |then| (now > then + 70).then_some(now)) .is_err() { (lock, None) |