parent
d1a20ff5dc
commit
595d5d6048
@ -9,7 +9,8 @@ public class Wall extends Tile {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void spawnStargate(Stargate stargate, Direction direction) {
|
public void spawnStargate(Stargate stargate, Direction direction) {
|
||||||
clearStargate();
|
if(stargate.isSpawned())
|
||||||
|
stargate.getCurrentWall().clearStargate();
|
||||||
if (sg == null) {
|
if (sg == null) {
|
||||||
sg = stargate;
|
sg = stargate;
|
||||||
sg.setCurrentWall(this);
|
sg.setCurrentWall(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user