408
edits
m (moved Howto: Reload sound config without restarting FG to Howto:Reload sound config without restarting FG: Robot: Moved page) |
(I encountered this problem on the concatenation of paths, "~" it is not enough you need to insert the character "/" then I replaced "~" with the string ~ '/' ~) |
||
Line 12: | Line 12: | ||
if(sf == nil) | if(sf == nil) | ||
{ | { | ||
sf = getprop('/sim/fg-root') ~ getprop('/sim/sound/path'); | sf = getprop('/sim/fg-root') ~ '/' ~ getprop('/sim/sound/path'); | ||
setprop('/tmp/sound-xml/path', sf); | setprop('/tmp/sound-xml/path', sf); | ||
} | } |
edits