JGRennison / OpenTTD-patches

OpenTTD - http://www.openttd.org/ - with additional patches
Other
553 stars 127 forks source link

[Bug]: Game Script settings have an arbitrary range of values applied to them #659

Closed Distortional-Addict closed 4 months ago

Distortional-Addict commented 4 months ago

Version of OpenTTD

jgrpp-0.58.0 on Windows 10, 64-bit

Expected result

Game Script settings should display the selected value, and only that value should be used when starting a new game. jgrpp-0.57.1 displays the expected behavior.

Actual result

Many Game Script settings now display a range, for example [30, 70] when the inputted value is 50. Then upon starting a new game, a seemingly random value within the displayed range is used.

Steps to reproduce

Can be seen with Game Scripts "Renewed Village Growth" and "Villages Is Villages", both with and without newGRFs loaded.

James103 commented 4 months ago

Caused by https://github.com/OpenTTD/OpenTTD/pull/11959.

JGRennison commented 4 months ago

I've forwarded this as https://github.com/OpenTTD/OpenTTD/issues/12182

JGRennison commented 4 months ago

There's a setting to disable this in the most recent release