mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-16 05:39:58 +03:00
1.7.5.M1D7
This commit is contained in:
@@ -8,7 +8,7 @@ _class = _this select 3;
|
||||
if (!(_object isKindOf "Building")) exitWith {
|
||||
deleteVehicle _object;
|
||||
};
|
||||
_allowed = [_object] call check_publishobject;
|
||||
_allowed = [_object, "Server"] call check_publishobject;
|
||||
if (!_allowed) exitWith { };
|
||||
|
||||
|
||||
@@ -24,6 +24,10 @@ _key call server_hiveWrite;
|
||||
|
||||
_object setVariable ["ObjectUID", _uid,true];
|
||||
|
||||
if (_object isKindOf "TentStorage") then {
|
||||
_object addMPEventHandler ["MPKilled",{_this call vehicle_handleServerKilled;}];
|
||||
};
|
||||
|
||||
dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_object];
|
||||
|
||||
//diag_log ("PUBLISH: Created " + (_class) + " with ID " + _uid);
|
||||
|
||||
Reference in New Issue
Block a user