mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#GROUP
* Customized Callsigns - remove extra spaces
This commit is contained in:
parent
c1ab3b5476
commit
5d20a59d92
@ -2784,6 +2784,9 @@ function GROUP:GetCustomCallSign(ShortCallsign,Keepnumber,CallsignTranslations)
|
|||||||
|
|
||||||
if personalized then
|
if personalized then
|
||||||
-- player personalized callsign
|
-- player personalized callsign
|
||||||
|
-- remove trailing/leading spaces
|
||||||
|
shortcallsign=string.gsub(shortcallsign,"^%s*","")
|
||||||
|
shortcallsign=string.gsub(shortcallsign,"%s*$","")
|
||||||
if Keepnumber then
|
if Keepnumber then
|
||||||
return shortcallsign -- Ghostrider 219
|
return shortcallsign -- Ghostrider 219
|
||||||
elseif ShortCallsign then
|
elseif ShortCallsign then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user