ACE3/addons/common/functions/fnc_addCuratorUnloadEventhandler.sqf

14 lines
308 B
Plaintext
Raw Normal View History

// by commy2
2015-01-13 19:56:02 +00:00
#include "script_component.hpp"
private "_dlg";
disableSerialization;
_dlg = ctrlParent _this;
_dlg displayAddEventHandler ["unload", {
if (_this select 1 == 1) then {
[missionnamespace getvariable ["BIS_fnc_initCuratorAttributes_target", objNull]] call FUNC(fixCrateContent);
};
}];