diff --git a/cicaprojekt/Wall.java b/cicaprojekt/Wall.java index 204314f..5b47ce0 100644 --- a/cicaprojekt/Wall.java +++ b/cicaprojekt/Wall.java @@ -22,7 +22,7 @@ public class Wall extends Tile { if (sg == null) { return; } else { - sg.teleport(playerBase.facingDirection); + sg.teleport(playerBase); } }