Fixed #958
This commit is contained in:
@@ -27,7 +27,7 @@ allprojects{
|
|||||||
appName = 'Mindustry'
|
appName = 'Mindustry'
|
||||||
gdxVersion = '1.9.10'
|
gdxVersion = '1.9.10'
|
||||||
roboVMVersion = '2.3.8-SNAPSHOT'
|
roboVMVersion = '2.3.8-SNAPSHOT'
|
||||||
steamworksVersion = 'f9ed19bbddd71f07999ca8f0ef354c04938aca41'
|
steamworksVersion = 'ea1cd5096e4acd18564eb0d946e0cc0c0722b481'
|
||||||
arcHash = null
|
arcHash = null
|
||||||
|
|
||||||
debugged = {
|
debugged = {
|
||||||
|
|||||||
@@ -62,7 +62,8 @@ public class OverlayRenderer{
|
|||||||
});
|
});
|
||||||
|
|
||||||
if(ui.hudfrag.blockfrag.currentCategory == Category.upgrade){
|
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)
|
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)){
|
.setCenter(Core.camera.position.x, Core.camera.position.y).contains(mechpad.x, mechpad.y)){
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user