Changes

no edit summary
Line 104: Line 104:     
local function formatVoice(e)
 
local function formatVoice(e)
   return string.format('{{audio|file=Ship Voice %s Spring 2019 Event Friend Fleet %s.ogg}}', e.ship, e.voice)
+
   if type(e.voice) == 'number' then
 +
    return string.format('{{audio|file=Ship Voice %s Spring 2019 Event Friend Fleet %s.ogg}}', e.ship, e.voice)
 +
  else
 +
    return string.format('{{audio|file=Ship Voice %s Spring 2019 Event Friend Fleet %s.ogg}}', e.ship, e.voice)
 +
  end
 
end
 
end
  
cssedit, gkautomate
6,940

edits