mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Removed two unused files. Vanilla commits:42e72463a302726fb1926a7c53ebcf1fb63089959543ea057f
21 lines
486 B
Plaintext
21 lines
486 B
Plaintext
private ["_id", "_uid", "_armed"];
|
|
_trap = _this select 0;
|
|
|
|
if (!isNull _trap) then {
|
|
while { true } do {
|
|
_id = _trap getVariable ["ObjectID", "0"];
|
|
_uid = _trap getVariable ["ObjectUID", "0"];
|
|
_armed = _trap getVariable "armed";
|
|
|
|
if (isNull _trap) exitWith { /* break from loop */ };
|
|
|
|
if (((parseNumber _id > 0) || (parseNumber _uid > 0)) && !isNil "_armed") exitWith {
|
|
if (isServer) then {
|
|
dayz_traps set [count dayz_traps, _trap];
|
|
};
|
|
};
|
|
|
|
uiSleep 0.5;
|
|
};
|
|
};
|