mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-09-22 05:47:44 +03:00
Move update function of resupply point 5x1 spaces back (#4746)
This commit is contained in:
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.
|
||||||
|
Loading…
Reference in New Issue
Block a user