Skip to content

Commit

Permalink
Change: Require OpenTTD 14.0 because of town_production_effect property
Browse files Browse the repository at this point in the history
  • Loading branch information
2TallTyler committed Feb 11, 2024
1 parent 69eb1a7 commit 587b47c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/header.nml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ disable_item(FEAT_INDUSTRIES);
/* Disable base game cargos */
disable_item(FEAT_CARGOS);

/* Create an error if OpenTTD version is before 1.10.0 (required for increased cargo types at industries) */
if (version_openttd(1,10,0,28004) > openttd_version) {
/* Create an error if OpenTTD version is before 14.0 (required for town_production_effect property) */
if (version_openttd(14,0) > openttd_version) {
error(FATAL, string(STR_ERROR_GAME_VERSION));
}

Expand Down

0 comments on commit 587b47c

Please sign in to comment.