diff --git a/cicaprojekt/Wall.java b/cicaprojekt/Wall.java index da83b70..ce8b167 100644 --- a/cicaprojekt/Wall.java +++ b/cicaprojekt/Wall.java @@ -20,7 +20,9 @@ public class Wall extends Tile { @Override public boolean isSteppable() { - return sg != null; + if(sg != null) + return sg.isOpen(); + return false; } public void clearStargate() {