Changes

Default model
Line 9: Line 9:     
function Ship:create(name, model)
 
function Ship:create(name, model)
 +
if model == nil then
 +
model = ""
 +
end
 
if ships[name] and ships[name][model] then
 
if ships[name] and ships[name][model] then
 
return ships[name][model]
 
return ships[name][model]
Anonymous user