Moved spare parts cargo init to cargo

This commit is contained in:
jonpas 2015-08-18 19:36:18 +02:00
parent 42bd8751aa
commit b16d313e35
2 changed files with 6 additions and 5 deletions

View File

@ -76,4 +76,10 @@ class Extended_Init_EventHandlers {
init = QUOTE(_this call DFUNC(initVehicle));
};
};
class ACE_RepairItem_Base {
class ADDON {
init = QUOTE(_this call DFUNC(initObject));
};
};
};

View File

@ -40,9 +40,4 @@ class Extended_Init_EventHandlers {
init = QUOTE(_this call DFUNC(addRepairActions));
};
};
class ACE_RepairItem_Base {
class ADDON {
init = QUOTE(if (!isnil QUOTE(QEFUNC(cargo,initObject))) then {_this call EFUNC(cargo,initObject)});
};
};
};