This commit is contained in:
Anuken 2019-10-30 18:29:36 -04:00
parent cea15bebab
commit 08eb683e8a
2 changed files with 3 additions and 2 deletions

View file

@ -27,7 +27,7 @@ allprojects{
appName = 'Mindustry'
gdxVersion = '1.9.10'
roboVMVersion = '2.3.8-SNAPSHOT'
steamworksVersion = 'f9ed19bbddd71f07999ca8f0ef354c04938aca41'
steamworksVersion = 'ea1cd5096e4acd18564eb0d946e0cc0c0722b481'
arcHash = null
debugged = {

View file

@ -62,7 +62,8 @@ public class OverlayRenderer{
});
if(ui.hudfrag.blockfrag.currentCategory == Category.upgrade){
for(Tile mechpad: indexer.getAllied(player.getTeam(), BlockFlag.mechPad)){
for(Tile mechpad : indexer.getAllied(player.getTeam(), BlockFlag.mechPad)){
if(!(mechpad.block() instanceof MechPad)) continue;
if(!rect.setSize(Core.camera.width * 0.9f, Core.camera.height * 0.9f)
.setCenter(Core.camera.position.x, Core.camera.position.y).contains(mechpad.x, mechpad.y)){