Bump minimum version for new fuel system
This commit is contained in:
parent
13d549a9d3
commit
4367d76b1d
2 changed files with 3 additions and 3 deletions
|
@ -134,9 +134,9 @@ setlistener("/systems/acconfig/new-revision", func {
|
||||||
});
|
});
|
||||||
|
|
||||||
var mismatch_chk = func {
|
var mismatch_chk = func {
|
||||||
if (num(string.replace(getprop("/sim/version/flightgear"),".","")) < 201910) {
|
if (num(string.replace(getprop("/sim/version/flightgear"),".","")) < 201912) {
|
||||||
setprop("/systems/acconfig/mismatch-code", "0x121");
|
setprop("/systems/acconfig/mismatch-code", "0x121");
|
||||||
setprop("/systems/acconfig/mismatch-reason", "FGFS version is too old! Please update FlightGear to at least 2019.1.0.");
|
setprop("/systems/acconfig/mismatch-reason", "FGFS version is too old! Please update FlightGear to at least 2019.1.2.");
|
||||||
if (getprop("/systems/acconfig/out-of-date") != 1) {
|
if (getprop("/systems/acconfig/out-of-date") != 1) {
|
||||||
error_mismatch.open();
|
error_mismatch.open();
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
11
|
12
|
Loading…
Add table
Reference in a new issue