try to fix bug: BAirboss:setTACAN not working fine at MPserver and server only.
This commit is contained in:
+3
-2
@@ -337,7 +337,7 @@ do
|
||||
self:createMenu(playerGroup)
|
||||
|
||||
local enterText = Localizations:translate('You have entered range area, you can sapwn targets through radio F10 menu.','cn')
|
||||
trigger.action.outTextForGroup()
|
||||
trigger.action.outTextForGroup(playerGroup:getID(),enterText,10)
|
||||
end
|
||||
|
||||
function Range:removePlayerProfile(playerName)
|
||||
@@ -351,6 +351,7 @@ do
|
||||
self.playerList[playerName] = nil
|
||||
|
||||
local leaveText = Localizations:translate('You have left rang area.','cn')
|
||||
trigger.action.outTextForGroup(self.playerList[playerName].groupID,leaveText,10)
|
||||
end
|
||||
|
||||
function Range:activeTartgets(playerName,sectionType,targetType,AAType,Move)
|
||||
@@ -410,7 +411,7 @@ do
|
||||
end
|
||||
|
||||
if not sectionZone then
|
||||
trigger.action.outTextForGroup(string.format(Localizations:translate('There is no range section of %s left.','cn'),Localizations:translate(sectionType,'cn')))
|
||||
trigger.action.outTextForGroup(string.format(Localizations:translate('There is no range section of %s left.','cn'),Localizations:translate(sectionType,'cn')),10)
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user