PlayerTask.lua (#1948)

Small fix for one tts text
This commit is contained in:
Thomas 2023-06-06 16:20:16 +02:00 committed by GitHub
parent 0a1d469c68
commit 6f02f23240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3153,7 +3153,7 @@ function PLAYERTASKCONTROLLER:_ActiveTaskInfo(Group, Client, Task)
--self:I(self.lid.." | ".. CoordText)
end
local ThreatLocaleTextTTS = self.gettext:GetEntry("THREATTEXTTTS",self.locale)
local ttstext = string.format(ThreatLocaleTextTTS,self.MenuName or self.Name,ttsplayername,ttstaskname,ThreatLevelText, targets, CoordText)
local ttstext = string.format(ThreatLocaleTextTTS,ttsplayername,self.MenuName or self.Name,ttstaskname,ThreatLevelText, targets, CoordText)
-- POINTERTARGETLASINGTTS = ". Pointer over target and lasing."
if task.Type == AUFTRAG.Type.PRECISIONBOMBING and self.precisionbombing then
if self.LasingDrone.playertask.inreach and self.LasingDrone:IsLasing() then