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
|
@Override
|
||||||
public void updateTile(){
|
public void updateTile(){
|
||||||
if(consValid() && timer(timerResupply, resupplyRate / timeScale) && resupply(this, range, ammoAmount, ammoColor)){
|
if(consValid() && timer(timerResupply, resupplyRate / timeScale) && resupply(this, range, ammoAmount, ammoColor)){
|
||||||
consume();
|
consume();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Tries to resupply nearby units.
|
/** Tries to resupply nearby units.
|
||||||
|
|||||||
Reference in New Issue
Block a user