Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addon Settings List type tooltip error #1298

Closed
mgkid3310 opened this issue Feb 19, 2020 · 1 comment
Closed

Addon Settings List type tooltip error #1298

mgkid3310 opened this issue Feb 19, 2020 · 1 comment

Comments

@mgkid3310
Copy link

mgkid3310 commented Feb 19, 2020

Mods (complete and add to the following information):

  • Arma 3: 1.96.146113 profiling [e.g. 1.00 stable, rc, dev]
  • CBA: 3.14.0.200207 stable [e.g. 3.0.0 stable, commit hash]
    Make sure to reproduce the issue with only CBA on a newly created mission!

Description:
CBA addon settings tooltip error

22:11:52 Error in expression <e _label = (_settingData param [1, []]) param [_defaultValue, ""];

if (isLocali>
22:11:52   Error position: <param [_defaultValue, ""];

if (isLocali>
22:11:52   Error Type Bool, expected Number
22:11:52 File x\cba\addons\settings\gui_createCategory.sqf..., line 139

Steps to reproduce:

  • add list type cba addon setting, with non-number values for each selection
  • open cba addon settings

Expected behavior:
no errors

Where did the issue occur?

  • Editor (Singleplayer)

Log Files:

Additional context:
It seems the error itself does not hurt gameplay
Error seems to have occured from: 6c84b7e#diff-913ce4a178ff741f892f9c9dee7924b5
_defaultValue variable for list type setting is not guaranteed to be a number type.

Screenshots:
N/A

@mgkid3310 mgkid3310 added the Bug label Feb 19, 2020
@veteran29
Copy link
Member

Duplicate of #1295 fixed in #1296

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants