Skip to content

Commit

Permalink
Auto-Update shared Files
Browse files Browse the repository at this point in the history
damage 1.3.1->1.3.2
  • Loading branch information
github-actions[bot] committed Nov 21, 2023
1 parent b6a8e88 commit f9e3464
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Nasal/damage.nas
Original file line number Diff line number Diff line change
Expand Up @@ -1430,6 +1430,7 @@ var code_ct = func () {
#ANTIC
if (getprop("payload/armament/msg")) {
setprop("sim/rendering/redout/enabled", 1);
setprop("sim/rendering/redout/parameters/locked-by-airframe", 1);
#call(func{fgcommand('dialog-close', multiplayer.dialog.dialog.prop())},nil,var err= []);# props.Node.new({"dialog-name": "location-in-air"}));
if (!m28_auto) call(func{multiplayer.dialog.del();},nil,var err= []);
if (!getprop("gear/gear[0]/wow")) {
Expand All @@ -1446,6 +1447,8 @@ var code_ct = func () {
#setprop("/sim/rendering/als-filters/use-filtering", 1);
call(func{var interfaceController = fg1000.GenericInterfaceController.getOrCreateInstance();
interfaceController.stop();},nil,var err2=[]);
} else {
setprop("sim/rendering/redout/parameters/locked-by-airframe", 0);
}
}
code_ctTimer = maketimer(1, code_ct);
Expand Down
2 changes: 1 addition & 1 deletion oprf-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"path": "Nasal/radar/radar-system-database.nas"
},
"damage": {
"version": "1.3.1",
"version": "1.3.2",
"path": "Nasal/damage.nas"
},
"iff": {
Expand Down

0 comments on commit f9e3464

Please sign in to comment.