Changes

no edit summary
Line 5: Line 5:     
function ShipGraphicKai:get_source(ship, args)
 
function ShipGraphicKai:get_source(ship, args)
return args.damaged and ship:cg_damaged() or ship:cg()
+
if args.damaged then
 +
    return ship:cg_damaged()
 +
end
 +
return ship:cg()
 
end
 
end
  
Anonymous user