1
0
Fork 0

Bug fix - sendFMSNotification no longer exists.

Reported on the forum:

https://forum.flightgear.org/viewtopic.php?f=71&t=32764&start=120
This commit is contained in:
Stuart Buchanan 2018-09-25 20:28:32 +01:00
parent 43c03bb4ba
commit b83b95751f

View file

@ -186,12 +186,12 @@ var FMSDataDelegate = {
emesary.GlobalTransmitter.NotifyAll(notification);
},
cleared : func (fp) {
me.sendFMSNotification({"FMSFlightPlanEdited" : 1});
var notification = notifications.PFDEventNotification.new(
"MFD",
1,
notifications.PFDEventNotification.FMSData,
{"FMSFlightPlanEdited" : 1});
emesary.GlobalTransmitter.NotifyAll(notification);
},
endOfFlightPlan: func (fp) {
var notification = notifications.PFDEventNotification.new(