Remove component HardpointSlot

This commit is contained in:
felixlinker
2019-10-10 16:30:51 +02:00
parent 7bbfa8c43f
commit 90ab5b4b0a
4 changed files with 25 additions and 153 deletions

View File

@@ -1,6 +1,6 @@
import React from 'react';
import SlotSection from './SlotSection';
import HardpointSlot from './HardpointSlot';
import InternalSlot from './InternalSlot';
import { stopCtxPropagation } from '../utils/UtilityFunctions';
/**
@@ -70,7 +70,7 @@ export default class UtilitySlotSection extends SlotSection {
let { originSlot, targetSlot } = this.state;
for (let h of ship.getUtilities(undefined, true)) {
slots.push(<HardpointSlot
slots.push(<InternalSlot
key={h.object.Slot}
maxClass={h.getSize()}
onOpen={this._openMenu.bind(this,h)}