From 868d4e05f7d4eb39d2098b9be1e7491d9022c1c3 Mon Sep 17 00:00:00 2001 From: Patrick 'Quezler' Mounier Date: Sat, 20 Feb 2021 18:51:12 +0100 Subject: [PATCH] Move update function of resupply point 5x1 spaces back (#4746) --- .../mindustry/world/blocks/units/ResupplyPoint.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/src/mindustry/world/blocks/units/ResupplyPoint.java b/core/src/mindustry/world/blocks/units/ResupplyPoint.java index 6402b20147..aa765127a9 100644 --- a/core/src/mindustry/world/blocks/units/ResupplyPoint.java +++ b/core/src/mindustry/world/blocks/units/ResupplyPoint.java @@ -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.