Skip to content

Commit

Permalink
Model: Hopefully fix the dark livery over MP in dissimilar aircraft.
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaiVChr committed Jan 20, 2022
1 parent b7881e1 commit 700a324
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Models/F-16.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
folder = "Aircraft/f16/Models/Liveries/Block60"
}
var livery_update = aircraft.livery_update.new(folder, 10);
if (!(left(getprop("sim/version/flightgear"),6) == "2020.3")) {
globals.props.getNode("/sim/version/compositor-support", 1).setBoolValue(1);
} elsif (left(getprop("sim/version/flightgear"),6) == "2020.3") {
globals.props.getNode("/sim/version/compositor-support", 1).setBoolValue(0);
}
# Stores visible over MP:
var looping = 1;
Expand Down

0 comments on commit 700a324

Please sign in to comment.