mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
23 lines
436 B
Plaintext
23 lines
436 B
Plaintext
/*
|
|
* Author: commy2
|
|
*
|
|
* Arguments:
|
|
* Display where the Unload event was added <DISPLAY>
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Public: No
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
disableSerialization;
|
|
|
|
private _dlg = ctrlParent _this;
|
|
|
|
_dlg displayAddEventHandler ["unload", {
|
|
if (_this select 1 == 1) then {
|
|
[missionnamespace getVariable ["BIS_fnc_initCuratorAttributes_target", objNull]] call FUNC(fixCrateContent);
|
|
};
|
|
}];
|