View difference between Paste ID: XB327j9z and vZrDmbFA
SHOW: | | - or go back to the newest paste.
1
		/* Farms can only generate above sea level (height > 0) and below 'snow_line_height - 2'
2
		 * which limits minimum snow_line_height to '1 < snow_line_height - 2', thus '4'.
3-
		 * Forests can only generate above 'snow_line_height + 2'
3+
		 * Forests can only generate at a minimum of 'snow_line_height + 2'
4
		 * which limits maximum snow_line_height to 'highest_height - 2'. */
5
		_settings_game.game_creation.snow_line_height = Clamp(snow_line_height, 4, max(4, highest_height - 2));