Don't forget to clear the previous configuration
This commit is contained in:
parent
ea4a3ee1df
commit
aeefd12522
1 changed files with 2 additions and 0 deletions
|
@ -535,11 +535,13 @@ FGGeneric::reinit()
|
|||
|
||||
SGPropertyNode *output = root.getNode("generic/output");
|
||||
if (output) {
|
||||
_out_message.clear();
|
||||
read_config(output, _out_message);
|
||||
}
|
||||
|
||||
SGPropertyNode *input = root.getNode("generic/input");
|
||||
if (input) {
|
||||
_in_message.clear();
|
||||
read_config(input, _in_message);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue