2015-01-11 19:50:29 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-01-29 07:38:46 +00:00
|
|
|
ADDON = false;
|
|
|
|
|
2016-11-23 19:35:25 +00:00
|
|
|
PREP_RECOMPILE_START;
|
2016-02-22 14:20:36 +00:00
|
|
|
#include "XEH_PREP.hpp"
|
2016-11-23 19:35:25 +00:00
|
|
|
PREP_RECOMPILE_END;
|
2015-01-18 18:38:27 +00:00
|
|
|
|
2019-03-14 14:17:34 +00:00
|
|
|
DFUNC(repair_Statement) = { // moved from config because of build problems
|
|
|
|
TRACE_1("repair_Statement",_this);
|
|
|
|
{
|
|
|
|
if (_x isKindOf 'AllVehicles' && {!(_x isKindOf 'Man')}) then { _x setDamage 0; };
|
|
|
|
} forEach (curatorSelected select 0)
|
|
|
|
};
|
|
|
|
|
2015-01-29 07:38:46 +00:00
|
|
|
ADDON = true;
|