Skip to content

Commit

Permalink
ElectricalSwitches: update XML load handler
Browse files Browse the repository at this point in the history
Update XML load handler for MSFS 1.15.8

Signed-off-by: Octavian Purdila <tavi@cs.pub.ro>
  • Loading branch information
tavip committed May 1, 2021
1 parent fd2e909 commit 9fd03a2
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@ class ElectricalSwitches extends BaseInstrument {
}
get templateID() { return "ElectricalSwitches"; }
connectedCallback() {
//super.connectedCallback();
this.loadXMLConfig();
}
onXMLConfigLoaded(_xml) {
this.xmlConfig = _xml.responseXML;
if (!this.xmlConfig) {
this.loadXMLConfig();
}

if (!this.xmlConfig) {
return;
}
Expand Down

0 comments on commit 9fd03a2

Please sign in to comment.