Skip to content

Commit

Permalink
Add ship image
Browse files Browse the repository at this point in the history
  • Loading branch information
Iain C Docherty committed May 20, 2016
1 parent 790951c commit 656df78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/js/components/window/spacePort/ownFleets/item.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ var BuildFleetItem = React.createClass({
height: 100,
background: "transparent url("+constants.ASSETS_URL+"star_system/field.png) no-repeat center",
};
var shipImage = constants.ASSETS_URL+"ships/hulk.png";
var obj = this.props.obj;
var shipImage = constants.ASSETS_URL+"ships/"+obj.details.type+".png";
var reason = '';

return (
<div>
<div className="ui grid">
Expand Down

0 comments on commit 656df78

Please sign in to comment.