Move update function of resupply point 5x1 spaces back (#4746)
This commit is contained in:
committed by
GitHub
parent
d76795e0ae
commit
868d4e05f7
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user