You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mods (complete and add to the following information):
Arma 3:latest
CBA:0464ca4
Description:
I am getting type error messages from settings\gui_createCategory.sqf when non-numeric values are added to a LIST setting. The root cause of this seems to be a variable-type bug where a potentially non-numeric value is passed to param. It looks like this was introduced recently as part of a localization update.
Below is the line causing the issue. In line 139, _defaultValue should probably be _defaultValueIndex, as _defaultValue could be a string.
Which setting? Can you give an example to reproduce?
This is happening on settings for my mission, but you can reproduce this by creating a LIST setting with non-numeric values. I updated the description with an example.
Mods (complete and add to the following information):
latest
0464ca4
Description:
I am getting type error messages from
settings\gui_createCategory.sqf
when non-numeric values are added to a LIST setting. The root cause of this seems to be a variable-type bug where a potentially non-numeric value is passed toparam
. It looks like this was introduced recently as part of a localization update.Below is the line causing the issue. In line 139,
_defaultValue
should probably be_defaultValueIndex
, as_defaultValue
could be a string.CBA_A3/addons/settings/gui_createCategory.sqf
Line 139 in 0464ca4
This doesn't seem to be causing any major impact to the mission other than the settings tool-tip, but I'm not 100% certain of that.
Steps to reproduce:
Add values to a LIST setting that are not numeric.
Expected behavior:
No error messages.
Where did the issue occur?
Log Files:
The text was updated successfully, but these errors were encountered: