File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
src/renderer/src/lib/map/data Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export default function processBypassLinks(
2929
3030 const wormholeBypass = system . bypasses
3131 . map ( ( bypassId ) => gameState . bypasses [ bypassId ] )
32- . find ( ( b ) => b ?. type === 'wormhole' ) ;
32+ . find ( ( b ) => b ?. type === 'wormhole' || b ?. type === 'strange_wormhole' ) ;
3333 const wormholeIsKnown = wormholeBypass != null && knownWormholes . has ( wormholeBypass . id ) ;
3434 const wormholeLinksTo = Object . values ( gameState . galactic_object ) . find ( ( go ) =>
3535 go . bypasses . includes ( wormholeBypass ?. linked_to as number ) ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export default function processSystems(
4141 const bypassTypes = new Set (
4242 system . bypasses . map ( ( bypassId ) => gameState . bypasses [ bypassId ] ?. type ) . filter ( isDefined ) ,
4343 ) ;
44- const hasWormhole = bypassTypes . has ( 'wormhole' ) ;
44+ const hasWormhole = bypassTypes . has ( 'wormhole' ) || bypassTypes . has ( 'strange_wormhole' ) ;
4545 const hasGateway = bypassTypes . has ( 'gateway' ) ;
4646 const hasLGate = bypassTypes . has ( 'lgate' ) ;
4747 const hasShroudTunnel = bypassTypes . has ( 'shroud_tunnel' ) ;
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export default function processTerraIncognita(
2323 ) ;
2424 const wormholeIds = new Set (
2525 Object . values ( gameState . bypasses )
26- . filter ( ( bypass ) => bypass . type === 'wormhole' )
26+ . filter ( ( bypass ) => bypass . type === 'wormhole' || bypass . type === 'strange_wormhole' )
2727 . map ( ( bypass ) => bypass . id ) ,
2828 ) ;
2929 const knownWormholes = terraIncognitaPerspectiveCountry
You can’t perform that action at this time.
0 commit comments