mirror of
https://github.com/tobspr/shapez.io.git
synced 2026-02-18 13:59:20 +00:00
Update logic.js
This commit is contained in:
parent
f15c1d4c4b
commit
047e99a673
@ -243,10 +243,10 @@ export class GameLogic {
|
||||
|
||||
const targetStaticComp = targetEntity.components.StaticMapEntity;
|
||||
|
||||
// Check if its a tunnel
|
||||
// Check if its a crossing
|
||||
const wireTunnelComp = targetEntity.components.WireTunnel;
|
||||
if (wireTunnelComp) {
|
||||
return wireTunnelComp.CanConnectWorld(targetStaticComp, offset);
|
||||
return true;
|
||||
}
|
||||
|
||||
// Check if its a wire
|
||||
|
||||
Loading…
Reference in New Issue
Block a user