mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
4cbded1811
The cargo wasn't displaying for empty vehicles because they use a different display.
17 lines
392 B
Plaintext
17 lines
392 B
Plaintext
#include "script_component.hpp"
|
|
|
|
params ["_control"];
|
|
TRACE_1("params",_control);
|
|
|
|
private _veh = GETMVAR(BIS_fnc_initCuratorAttributes_target,objnull);
|
|
TRACE_1("",_veh);
|
|
|
|
private _loaded = _veh getVariable [QEGVAR(cargo,loaded), []];
|
|
TRACE_1("",_loaded);
|
|
|
|
lbClear ((ctrlParent _control) displayCtrl 80086);
|
|
|
|
{
|
|
((ctrlParent _control) displayCtrl 80086) lbAdd (str _x);
|
|
} forEach _loaded;
|