Changes

no edit summary
Line 13: Line 13:  
else
 
else
 
local ship_class_table = require(mw.ustring.format('Module:%s', name))
 
local ship_class_table = require(mw.ustring.format('Module:%s', name))
ship_class = ShipClassData(ship_class_table)
+
ship_class = ShipClassData(ship_class_table.class)
 
ship_classes[name] = ship_class
 
ship_classes[name] = ship_class
 
return ship_class
 
return ship_class
Anonymous user