From 3a9c615b488cbbc0cbc1aefdb99bb8c6430cfd9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sat, 7 May 2016 19:17:14 +0200 Subject: [PATCH] fixed a bug, where Gates would not initialize (Dungeon.buildDungeon()) --- cicaprojekt/Dungeon.java | 1 + 1 file changed, 1 insertion(+) diff --git a/cicaprojekt/Dungeon.java b/cicaprojekt/Dungeon.java index 2aacede..69d1bae 100644 --- a/cicaprojekt/Dungeon.java +++ b/cicaprojekt/Dungeon.java @@ -142,6 +142,7 @@ public class Dungeon { scale.setY(sy); scale.setX(sx); + dungeon[gy][gx] = gate; dungeon[sy][sx] = scale; }