Merge remote-tracking branch 'origin/master' into develop

This commit is contained in:
Applevangelist 2022-09-15 13:52:20 +02:00
commit af96e2f143

View File

@ -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