summaryrefslogtreecommitdiff
path: root/src/script/api
diff options
context:
space:
mode:
authorPeterN <peter1138@openttd.org>2021-05-12 18:17:57 +0100
committerGitHub <noreply@github.com>2021-05-12 18:17:57 +0100
commitb972ed86045e1c287d03b3f7cda1ff21243d00fe (patch)
treee1ffee27f4ae434b4758fe8a3ffcca141398959d /src/script/api
parent7b7dbbc935c32263be800c0e22831e52ace813e9 (diff)
downloadopenttd-b972ed86045e1c287d03b3f7cda1ff21243d00fe.tar.xz
Fix #9242: Tree tick handler did not scale by map size. (#9246)
This means that random tree generation density is higher on small maps and lower on large maps. This difference is enough to make the Lumber Mill impractical to use on large maps. This change skips ticks on maps smaller than 256x256 and increases iterations or shortens the interval on maps larger than 256x256.
Diffstat (limited to 'src/script/api')
0 files changed, 0 insertions, 0 deletions