Skip to content

Commit

Permalink
Radar: Fix that HARM sensor would depend on RWR being online. Issue #560
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaiVChr committed May 23, 2023
1 parent 2fa5db3 commit ef7fd6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Nasal/radar/apg-68.nas
Original file line number Diff line number Diff line change
Expand Up @@ -2630,7 +2630,7 @@ var RadSensor = {
rs.RadSensorRecipient = emesary.Recipient.new("RadSensorRecipient");
rs.RadSensorRecipient.radar = rs;
rs.RadSensorRecipient.Receive = func(notification) {
if (notification.NotificationType == "RWRNotification") {
if (notification.NotificationType == "OmniNotification") {
#printf("RadSensor recv: %s", notification.NotificationType);
if (me.radar.enabled == 1) {
me.radar.vector_aicontacts = notification.vector;
Expand Down

0 comments on commit ef7fd6c

Please sign in to comment.