mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Fixed #808
This commit is contained in:
@@ -124,6 +124,7 @@ if ((count _upgrade) > 0) then {
|
|||||||
// Reset the character ID on locked doors before they inherit the newclassname
|
// Reset the character ID on locked doors before they inherit the newclassname
|
||||||
if (_classname in DZE_DoorsLocked) then {
|
if (_classname in DZE_DoorsLocked) then {
|
||||||
_object setVariable ["CharacterID",dayz_characterID,true];
|
_object setVariable ["CharacterID",dayz_characterID,true];
|
||||||
|
_objectCharacterID = dayz_characterID;
|
||||||
};
|
};
|
||||||
|
|
||||||
_classname = _newclassname;
|
_classname = _newclassname;
|
||||||
@@ -140,7 +141,7 @@ if ((count _upgrade) > 0) then {
|
|||||||
|
|
||||||
cutText [format[(localize "str_epoch_player_142"),_text], "PLAIN DOWN", 5];
|
cutText [format[(localize "str_epoch_player_142"),_text], "PLAIN DOWN", 5];
|
||||||
|
|
||||||
PVDZE_obj_Swap = [_objectCharacterID,_object,[_dir,_location],_classname,_obj,_objectID,_objectUID,(getPlayerUID player)];
|
PVDZE_obj_Swap = [_objectCharacterID,_object,[_dir,_location],_classname,_obj,_objectID,_objectUID,player];
|
||||||
publicVariableServer "PVDZE_obj_Swap";
|
publicVariableServer "PVDZE_obj_Swap";
|
||||||
|
|
||||||
player reveal _object;
|
player reveal _object;
|
||||||
|
|||||||
Reference in New Issue
Block a user