Skip to content

Commit

Permalink
Deprecate cargo makeLoadable module
Browse files Browse the repository at this point in the history
This module and associated public function are entriely replaced by the
new eden settings and associated functions.
  • Loading branch information
kymckay committed Dec 21, 2016
1 parent 9b08a76 commit c1fe0cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/cargo/functions/fnc_makeLoadable.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ if !(EGVAR(common,settingsInitFinished)) exitWith {
EGVAR(common,runAtSettingsInitialized) pushBack [FUNC(makeLoadable), _this];
};

ACE_DEPRECATED(QFUNC(makeLoadable),"3.11.0",QFUNC(setSize));

params [["_object", objNull, [objNull]], ["_canLoad", true, [false, 0]], ["_setSize", 1, [0]]];
TRACE_3("params",_object,_canLoad,_setSize);

Expand Down
2 changes: 2 additions & 0 deletions addons/cargo/functions/fnc_moduleMakeLoadable.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
params ["_logic", "_objects", "_activated"];
TRACE_3("params",_logic,_objects,_activated);

ACE_DEPRECATED(QFUNC(moduleMakeLoadable),"3.11.0","Eden editor object attributes");

if ((isNull _logic) || {!_activated}) exitWith {};
if (_objects isEqualTo []) exitWith {
WARNING_1("ace_cargo_fnc_moduleMakeLoadable has no synced objects [%1]", _logic);
Expand Down

0 comments on commit c1fe0cb

Please sign in to comment.