Changes
Refactor
local EnemyShipInfoKai = false
local EnemyShipInfoKai = false
local ShipBattleCardKai = false
local ShipCardKai = false
local ShipCardKai = false
local ShipCategoriesKai = false
local ShipCategoriesKai = false
_prepareShipCardKai()
_prepareShipCardKai()
return ShipCardKai:Card(args)
return ShipCardKai:Card(args)
end
function _prepareShipCardKai()
if not ShipCardKai then
ShipCardKai = require('Module:ShipCardKai')
end
end
end
function ShipInfo.BattleCard(frame)
function ShipInfo.BattleCard(frame)
local args = getArgs{frame = frame:getParent()}
local args = getArgs{frame = frame:getParent()}
_prepareShipBattleCardKai()
return ShipCardKai:BattleCard(args)
return ShipBattleCardKai:BattleCard(args)
end
end
function _prepareShipCardKai()
function _prepareShipBattleCardKai()
if not ShipCardKai then
if not ShipBattleCardKai then
ShipBattleCardKai = require('Module:ShipBattleCardKai')
end
end
end
end