When using an undefined variable for reading config values, an "undefined variable error" is not generated. Instead, nil is returned.
Description
Description
Details
Details
- Legacy ID
- 456014959
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Scripting
Steps To Reproduce
Run this line:
getnumber (configfile >> "CfgAmmo" >> _projectileClass >> "airFriction");
As _projectileClass is an undefined variable, an "undefined variable" error is expected, but it is missing.
Additional Information
Fixing this would make finding script errors much easier.