Tirpitz93 / TIRP-Tactical-Ready-Position

0 stars 0 forks source link

CBA error upon mission start #4

Open AirShark07 opened 5 months ago

AirShark07 commented 5 months ago

I have found a typo in the fn_PH_init.sqf that causes RPT error upon mission start due to wrong type of variable used. It should be true instead of 0.2.

[
    "PH_READY_CBA_ENABLEFRIENDLY",
    "Checkbox",
    [localize "STR_READY_CBA_ENABLEFRIENDLY","STR_READY_CBA_TOOLTIPFRIENDLY"],
    localize "STR_READY_CBA_OPTION",
    "0.2",
    nil,
    {  

    }
] call CBA_Settings_fnc_init;
Tirpitz93 commented 5 months ago

Does this cause functionality issues (IE does it still work). I havent started ARMA in over 2 years so I havent tested

the string "0.2" should still evaluate to true

AirShark07 commented 5 months ago

I honestly didnt check that particular function with the typo in, but it throws an annoying RPT error upon every mission startup.

Tirpitz93 commented 5 months ago

At some point I changed the user config to a checkbox rather than a distance. So I guess it was left over from then