Changes

m
no edit summary
Line 16: Line 16:  
else
 
else
 
local ship_table = require(mw.ustring.format('Module:%s', name))
 
local ship_table = require(mw.ustring.format('Module:%s', name))
local ship = ShipData:create(ship_table[model])
+
local ship = ShipData(ship_table[model])
 
if not ships[name] then
 
if not ships[name] then
 
ships[name] = {}
 
ships[name] = {}
Anonymous user