change root level folder name to framework, update resupply+vehicleflags
tested locally
This commit is contained in:
16
framework/fbcb2/assets/fn_removeAssetDiaryRecords.sqf
Normal file
16
framework/fbcb2/assets/fn_removeAssetDiaryRecords.sqf
Normal file
@@ -0,0 +1,16 @@
|
||||
if (!hasInterface) exitWith {};
|
||||
|
||||
{
|
||||
private _diarySubject = _x;
|
||||
private _records = player allDiaryRecords _diarySubject;
|
||||
if (count _records isEqualTo 0) then {continue};
|
||||
|
||||
{
|
||||
private _diaryRecord = _x select -1;
|
||||
player removeDiaryRecord [_diarySubject, _diaryRecord];
|
||||
} forEach _records;
|
||||
} forEach [
|
||||
milsim_fbcb2_subjectAssetsFixedWingID,
|
||||
milsim_fbcb2_subjectAssetsRotaryID,
|
||||
milsim_fbcb2_subjectAssetsGroundID
|
||||
];
|
||||
Reference in New Issue
Block a user