mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-12 16:57:52 +07:00
double-click disconnect mass driver (#1970)
This commit is contained in:
@ -212,7 +212,10 @@ public class MassDriver extends Block{
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onConfigureTileTapped(Tilec other){
|
public boolean onConfigureTileTapped(Tilec other){
|
||||||
if(this == other) return false;
|
if(this == other){
|
||||||
|
tile.configure(-1);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if(link == other.pos()){
|
if(link == other.pos()){
|
||||||
tile.configure(-1);
|
tile.configure(-1);
|
||||||
|
Reference in New Issue
Block a user