double-click disconnect mass driver (#1970)

This commit is contained in:
zethnest 2020-05-03 21:48:07 +08:00 committed by GitHub
parent 50e8586dc2
commit 9af3cf7a13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -212,7 +212,10 @@ public class MassDriver extends Block{
@Override
public boolean onConfigureTileTapped(Tilec other){
if(this == other) return false;
if(this == other){
tile.configure(-1);
return false;
}
if(link == other.pos()){
tile.configure(-1);