Map tweaks

This commit is contained in:
Anuken
2020-02-18 20:07:07 -05:00
parent afd31c2b42
commit 48c04bda8c
4 changed files with 11 additions and 6 deletions

View File

@@ -82,6 +82,11 @@ public class Build{
return false;
}
//campaign circle check
if(world.isCampaign() && !Mathf.within(x, y, world.width()/2, world.height()/2, world.width()/2 - 8)){
return false;
}
Tile tile = world.tile(x, y);
if(tile == null) return false;