Bug Report: Secondary Weapons not being displayed
PiZZAD0X opened this issue · 2 comments
PiZZAD0X commented
Description of issue
Units without secondary weapons display an unknown icon (placeholder icon for when item picture value is nil)
Steps to reproduce
- Create a mission with two units, one with a secondary weapon and one without.
- Load mission
Expected behaviour
Secondary weapon placeholder unknown should be either blank or backpack
Screenshots
Additional context
nil.
PiZZAD0X commented
If this inline function is given a nil secondary weapon param, it still results in an unknown/placeholder icon displayed.
uo_briefingkit/xeh_postinit.sqf
Line 23 in 188e6b4
possible nil call to _getpicture
uo_briefingkit/xeh_postinit.sqf
Line 218 in 188e6b4