michail-nikolaev / task-force-arma-3-radio

TeamSpeak integration for Arma 3
http://radio.task-force.ru/en/
Other
314 stars 170 forks source link

Spectators moved into serious channel - noAutoMoveSpectator is never sent to plugin #1560

Closed ilbinek closed 1 year ago

ilbinek commented 1 year ago

Arma 3 Version: 2.12 (stable) CBA Version: 3.15.8 (stable) Task Force Radio Version: stable (stable)

Mods:

- @CBA_A3
- @task_force_radio

Description:

Steps to reproduce:

Where did the issue occur?

Cause This is caused, because "noAutoMoveSpectator" is missing in https://github.com/michail-nikolaev/task-force-arma-3-radio/blob/master/addons/core/functions/plugin/fnc_sendPluginConfig.sqf

So the only time the setting is sent to the TS plugin is during init and that is stopped here https://github.com/michail-nikolaev/task-force-arma-3-radio/blob/02b1b0cd6b3eda8ebc10137134b78ca71862b9c6/addons/core/functions/plugin/fnc_setPluginSetting.sqf#L23

This results in the TS plugin never receiving the "true" and staying "false" by default.