Move update function of resupply point 5x1 spaces back (#4746)

This commit is contained in:
Patrick 'Quezler' Mounier
2021-02-20 18:51:12 +01:00
committed by GitHub
parent d76795e0ae
commit 868d4e05f7

View File

@@ -47,11 +47,11 @@ public class ResupplyPoint extends Block{
}
@Override
public void updateTile(){
if(consValid() && timer(timerResupply, resupplyRate / timeScale) && resupply(this, range, ammoAmount, ammoColor)){
consume();
}
}
public void updateTile(){
if(consValid() && timer(timerResupply, resupplyRate / timeScale) && resupply(this, range, ammoAmount, ammoColor)){
consume();
}
}
}
/** Tries to resupply nearby units.