Open thegamecracks opened 1 year ago
Despite _groupLocking being set to 1 in parameters.sqf, player groups are being forcibly unlocked by the mission. This seems to be caused by a misinterpretation of QS_missionConfig_groupLocking, which was set to a boolean by parameters.sqf:
_groupLocking
QS_missionConfig_groupLocking
https://github.com/auQuiksilver/Apex-Framework/blob/a5b109f7215909548b885f131b6011b5b61a4133/%40Apex_cfg/parameters.sqf#L227
...but then compared to an integer in fn_clientCore.sqf, always returning false:
https://github.com/auQuiksilver/Apex-Framework/blob/a5b109f7215909548b885f131b6011b5b61a4133/Apex_framework.terrain/code/functions/fn_clientCore.sqf#L475
Great find!
Despite
_groupLocking
being set to 1 in parameters.sqf, player groups are being forcibly unlocked by the mission. This seems to be caused by a misinterpretation ofQS_missionConfig_groupLocking
, which was set to a boolean by parameters.sqf:https://github.com/auQuiksilver/Apex-Framework/blob/a5b109f7215909548b885f131b6011b5b61a4133/%40Apex_cfg/parameters.sqf#L227
...but then compared to an integer in fn_clientCore.sqf, always returning false:
https://github.com/auQuiksilver/Apex-Framework/blob/a5b109f7215909548b885f131b6011b5b61a4133/Apex_framework.terrain/code/functions/fn_clientCore.sqf#L475