Fixed quarry not being removed properly.

Fixes #71
This commit is contained in:
Kyprus 2012-07-01 08:58:14 -04:00
parent 7cc1b63559
commit 92e7fe2d24

View file

@ -456,12 +456,15 @@ public class TileQuarry extends TileMachine implements IArmListener, IMachine, I
}
@Override
public void invalidate () {
destroy ();
public void invalidate() {
super.invalidate();
destroy();
}
@Override
public void destroy() {
if (arm != null) {
arm.setDead();
}