jarangmandi / BFSGSimCom

A TS3 plugin that supports changing channels through tuning of flight simulator radios
4 stars 5 forks source link

Doesn't move channel when all frequencies are channels (not subchannels) #42

Closed jarangmandi closed 5 years ago

jarangmandi commented 5 years ago

When frequency channels are parented by the server, as opposed to another channel, no amount of frequency changing will make the plug-in move the user.

jarangmandi commented 5 years ago

The way the code is written, if the "Root" (i.e., server) is defined as the root, then the program uses the current channel as an effective root.

This cannot be right. It means that it will only be possible to traverse DOWN into channels that are parented by the current channel.

It looks like a botched attempt to make something work when there is no root channel defined, but that's only ever going to be the case the first time the plugin runs.

jarangmandi commented 5 years ago

Fixed in branch #42