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
f7560714e7
@ -2769,12 +2769,12 @@ function GROUP:GetCustomCallSign(ShortCallsign,Keepnumber,CallsignTranslations)
|
||||
if Keepnumber then
|
||||
shortcallsign = string.match(groupname,"#(.+)") -- Ghostrider 219
|
||||
else
|
||||
shortcallsign = string.match(groupname,"#([%a]+)") -- Ghostrider
|
||||
shortcallsign = string.match(groupname,"#%s*([%a]+)") -- Ghostrider
|
||||
end
|
||||
personalized = true
|
||||
elseif IsPlayer and string.find(self:GetPlayerName(),"|") then
|
||||
-- personalized flight name in group naming
|
||||
shortcallsign = string.match(self:GetPlayerName(),"|([%a]+)") -- Ghostrider
|
||||
shortcallsign = string.match(self:GetPlayerName(),"|%s*([%a]+)") -- Ghostrider
|
||||
personalized = true
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user