mirror of
https://github.com/parnic/LibDogTag-Unit-3.0.git
synced 2025-06-16 21:41:53 -05:00
- Moved the localized unit name alternative if a name was not found to the Name tag ( I just took it out from the compilation step )
This commit is contained in:
@ -88,7 +88,7 @@ DogTag:AddTag("Unit", "Name", {
|
||||
elseif unit:match("%d*vehicle%d*$") then
|
||||
return VehicleName(unit)
|
||||
end
|
||||
return UnitName(unit)
|
||||
return UnitName(unit) or DogTag.UnitToLocale[unit]
|
||||
end,
|
||||
arg = {
|
||||
'unit', 'string;undef', 'player'
|
||||
|
Reference in New Issue
Block a user