mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
13 lines
376 B
Plaintext
13 lines
376 B
Plaintext
// runs every 15 seconds
|
|
if !(_prevEquippedItem isEqualTo EPOCH_equippedItem_PVS) then {
|
|
_prevEquippedItem = EPOCH_equippedItem_PVS;
|
|
EPOCH_equippedItem_PVS remoteExec ["EPOCH_server_equippedItem",2];
|
|
};
|
|
// force update
|
|
if (_forceUpdate || EPOCH_forceUpdate) then {
|
|
_forceUpdate = false;
|
|
EPOCH_forceUpdate = false;
|
|
EPOCH_forceUpdateNow = false;
|
|
call _fnc_forceUpdate;
|
|
};
|