Update dog actions in fn_selfActions

When PlotForLife was added these were not updated to reflect the
_ownerID change:

https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/compile/fn_selfActions.sqf#L253
This commit is contained in:
ebaydayz
2016-05-20 13:45:52 -04:00
parent edd53597b0
commit ec27cfd29c
2 changed files with 9 additions and 4 deletions

View File

@@ -43,7 +43,12 @@ if (_hasMeat) then {
_fsmid setFSMVariable ["_handle", _fsmid];
_fsmid setFSMVariable ["_isTamed", true];
player setVariable ["dogID", _fsmid];
_dog setVariable ["CharacterID", dayz_characterID, true];
if (DZE_plotforLife) then {
_dog setVariable ["ownerPUID", dayz_playerUID, true];
} else {
_dog setVariable ["CharacterID", dayz_characterID, true];
};
format[localize "str_epoch_player_173",_textRemoved] call dayz_rollingMessages;
} else {