* Customized Callsigns - remove extra spaces
This commit is contained in:
Applevangelist 2022-09-15 13:40:37 +02:00
parent c1ab3b5476
commit 5d20a59d92

View File

@ -2784,6 +2784,9 @@ function GROUP:GetCustomCallSign(ShortCallsign,Keepnumber,CallsignTranslations)
if personalized then
-- player personalized callsign
-- remove trailing/leading spaces
shortcallsign=string.gsub(shortcallsign,"^%s*","")
shortcallsign=string.gsub(shortcallsign,"%s*$","")
if Keepnumber then
return shortcallsign -- Ghostrider 219
elseif ShortCallsign then