@ -13,7 +13,7 @@ public class Wall extends Tile {
|
||||
stargate.getCurrentWall().clearStargate();
|
||||
if (sg == null) {
|
||||
sg = stargate;
|
||||
sg.setCurrentWall(this);
|
||||
sg.setCurrentWall(this, direction);
|
||||
Game.instance.updateDisplay();
|
||||
}
|
||||
else
|
||||
@ -30,7 +30,7 @@ public class Wall extends Tile {
|
||||
|
||||
public void clearStargate() {
|
||||
if(sg != null) {
|
||||
sg.setCurrentWall(null);
|
||||
sg.setCurrentWall(null, null);
|
||||
sg = null;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user