From 610e44a880c05351d86996a2cde8a61c07af40a3 Mon Sep 17 00:00:00 2001 From: Cromha <87318892+OcelotWalrus@users.noreply.github.com> Date: Thu, 24 Jul 2025 15:43:13 +0200 Subject: [PATCH] Fix a Nasal Runtime error with the E-3 AEW&C --- Nasal/E-3/rwr.nas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Nasal/E-3/rwr.nas b/Nasal/E-3/rwr.nas index d7d2ee3..63f746a 100644 --- a/Nasal/E-3/rwr.nas +++ b/Nasal/E-3/rwr.nas @@ -416,7 +416,7 @@ RWRCanvas = { me.symbol_priority.show(); me.prio = 1; } - if (me.contact[0].getType() == armament.AIR) { + if (me.contact[0].getType() == radar_system.AIR) { #air-borne me.symbol_hat[me.i].setTranslation(me.x,me.y); me.symbol_hat[me.i].show(); @@ -519,4 +519,4 @@ var root = cv.createGroup(); var rwr = RWRCanvas.new("RWRCanvas", root, [diam/2,diam/2],diam); var timer = maketimer(0.5, func rwr.update(radar_system.f16_rwr.vector_aicontacts_threats, "normal");); -timer.start(); \ No newline at end of file +timer.start();