mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
9ca2a2f624
@ -2769,12 +2769,12 @@ function GROUP:GetCustomCallSign(ShortCallsign,Keepnumber,CallsignTranslations)
|
|||||||
if Keepnumber then
|
if Keepnumber then
|
||||||
shortcallsign = string.match(groupname,"#(.+)") -- Ghostrider 219
|
shortcallsign = string.match(groupname,"#(.+)") -- Ghostrider 219
|
||||||
else
|
else
|
||||||
shortcallsign = string.match(groupname,"#([%a]+)") -- Ghostrider
|
shortcallsign = string.match(groupname,"#%s*([%a]+)") -- Ghostrider
|
||||||
end
|
end
|
||||||
personalized = true
|
personalized = true
|
||||||
elseif IsPlayer and string.find(self:GetPlayerName(),"|") then
|
elseif IsPlayer and string.find(self:GetPlayerName(),"|") then
|
||||||
-- personalized flight name in group naming
|
-- personalized flight name in group naming
|
||||||
shortcallsign = string.match(self:GetPlayerName(),"|([%a]+)") -- Ghostrider
|
shortcallsign = string.match(self:GetPlayerName(),"|%s*([%a]+)") -- Ghostrider
|
||||||
personalized = true
|
personalized = true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user