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