mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#PLAYERTASKCONTROLLER
* No spaces in callsign numbers on pilot list in task info screen
This commit is contained in:
parent
9809f08954
commit
78c209a96f
@ -567,7 +567,7 @@ function PLAYERTASK:IlluminateTarget(Power,Height)
|
|||||||
if self.Target then
|
if self.Target then
|
||||||
local coordinate = self.Target:GetAverageCoordinate()
|
local coordinate = self.Target:GetAverageCoordinate()
|
||||||
if coordinate then
|
if coordinate then
|
||||||
local bcoord = COORDINATE:NewFromVec2( coordinate:GetVec2(), Height )
|
local bcoord = COORDINATE:NewFromVec2( coordinate:GetVec2(), Height )
|
||||||
bcoord:IlluminationBomb(Power)
|
bcoord:IlluminationBomb(Power)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -2771,6 +2771,7 @@ function PLAYERTASKCONTROLLER:_ActiveTaskInfo(Group, Client, Task)
|
|||||||
for _,_name in pairs(clientlist) do
|
for _,_name in pairs(clientlist) do
|
||||||
if self.customcallsigns[_name] then
|
if self.customcallsigns[_name] then
|
||||||
_name = self.customcallsigns[_name]
|
_name = self.customcallsigns[_name]
|
||||||
|
_name = string.gsub(_name, "(%d) ","%1")
|
||||||
end
|
end
|
||||||
clienttxt = clienttxt .. _name .. ", "
|
clienttxt = clienttxt .. _name .. ", "
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user