Wall now is steppable only if the stargate is open
This commit is contained in:
		| @@ -20,7 +20,9 @@ public class Wall extends Tile { | |||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public boolean isSteppable() { |     public boolean isSteppable() { | ||||||
|         return sg != null; |         if(sg != null) | ||||||
|  |             return sg.isOpen(); | ||||||
|  |         return false; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public void clearStargate() { |     public void clearStargate() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user