From b7910c7603b2fbed42362fc2b259cc3541676b38 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Tue, 10 Dec 2013 18:56:39 -0600 Subject: [PATCH] force tags back on if previously enabled after changing clothes --- SQF/dayz_code/compile/player_switchModel.sqf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/player_switchModel.sqf b/SQF/dayz_code/compile/player_switchModel.sqf index c6ea093f8..1a2c16a96 100644 --- a/SQF/dayz_code/compile/player_switchModel.sqf +++ b/SQF/dayz_code/compile/player_switchModel.sqf @@ -151,7 +151,10 @@ if(_currentWpn != "") then {_newUnit selectWeapon _currentWpn;}; player disableConversation true; player setVariable ["bodyName",dayz_playerName,true]; -player setVariable["DZE_display_name",_tagSetting,true]; + +if (_tagSetting) then { + DZE_ForceNameTags = true; +}; _playerUID=getPlayerUID player; _playerObjName = format["player%1",_playerUID];