diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-02 20:52:56 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-02 21:11:55 +0100 |
| commit | b83f447ff6978509fdf23e9813eff6d7b5a6ffa2 (patch) | |
| tree | fc279e69a8335a452f4913960c55c6289a1c4d10 /src/world.cpp | |
| parent | 128e76192e7bc3cc12c01f67b36a54509433d893 (diff) | |
main: set collect threshold depending on screen resolution
Diffstat (limited to 'src/world.cpp')
| -rw-r--r-- | src/world.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.cpp b/src/world.cpp index 20805905..1fcee1d8 100644 --- a/src/world.cpp +++ b/src/world.cpp @@ -44,7 +44,7 @@ void world::clear() void world::maybe_collect() { - if (_chunks.size() > _last_collection + collect_every) + if (_chunks.size() > _last_collection + _collect_every) collect(); } |
