Skip to content

Commit

Permalink
Remove debug logs, bump version number
Browse files Browse the repository at this point in the history
  • Loading branch information
iaincollins committed Dec 12, 2021
1 parent 17b6797 commit 57e3c6b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "icarus",
"version": "0.2.9",
"version": "0.2.10",
"description": "ICARUS Terminal for Elite Dangerous",
"scripts": {
"build": "npm run build:web && npm run build:app && npm run build:service && npm run build:package",
Expand Down
5 changes: 0 additions & 5 deletions src/service/lib/system-map.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ class SystemMap {
bodies.forEach((body, i) => {
body._type = body.type

//if (body.name === 'Colonia 3') console.log(body)
// Only applies to stars
if (body.type !== 'Star') return

Expand Down Expand Up @@ -383,10 +382,6 @@ class SystemMap {
if (!systemObject.parents) continue

const nearestNonNullParent = this.#getNearestNotNullParent(systemObject)

if (MEGASHIPS.includes(systemObject?._type)) {
console.log('M', targetBody.name, `(${targetBody.bodyId})`, systemObject.name, systemObject.parents, nearestNonNullParent)
}

// Some systems to have multiple Null points round which bodies orbit.
// We noramlize these all into one Null orbit (Body ID 0) to allow the map
Expand Down
2 changes: 1 addition & 1 deletion src/web/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function IndexPage () {
const { connected, active } = useSocket()

// Client side redirect
if (typeof window !== 'undefined') Router.push('/nav')
if (typeof window !== 'undefined') Router.push('/nav/map')

return (
<Layout connected={connected} active={active}>
Expand Down

0 comments on commit 57e3c6b

Please sign in to comment.