mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-17 21:52:56 +03:00
Better maintain
Intensive commands are processed on the client only, as opposed to twice. an array of objects, their corresponding UID and ID are sent to the server. Sending the objects as an array, despite the size the array can reach, should be better than the way this was set up before. Needs testing on a full server however.
This commit is contained in:
@@ -78,7 +78,7 @@ if (_proceed) then {
|
||||
// all parts removed proceed
|
||||
if (_tobe_removed_total == _removed_total) then {
|
||||
format[localize "STR_EPOCH_ACTIONS_4",1] call dayz_rollingMessages;
|
||||
PVDZE_maintainArea = [player,2,_obj];
|
||||
PVDZE_maintainArea = [player,2,[_obj, _objectID, _objectUID]];
|
||||
publicVariableServer "PVDZE_maintainArea";
|
||||
} else {
|
||||
{player addMagazine _x;} count _temp_removed_array;
|
||||
|
||||
Reference in New Issue
Block a user