From 17522e4252e9b0d89b7d0cde64e46b31301bbc06 Mon Sep 17 00:00:00 2001 From: Gijs de Rooy Date: Thu, 14 Jun 2012 20:07:35 +0200 Subject: [PATCH] Fix MIBS' nasal. --- Aircraft/ufo/cam.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aircraft/ufo/cam.nas b/Aircraft/ufo/cam.nas index cd2d4b2f7..19e35c7bb 100644 --- a/Aircraft/ufo/cam.nas +++ b/Aircraft/ufo/cam.nas @@ -305,7 +305,7 @@ setlistener("/sim/cam/lock", func(n) { setlistener("/sim/signals/fdm-initialized", func { var views = props.globals.getNode("/sim").getChildren("view"); forindex (var i; views) - if (views[i].getNode("name").getValue() == "Cam View") + if (views[i].getNode("name", 1).getValue() == "Cam View") cam_view = i; setprop("/sim/current-view/view-number", cam_view);