Improved base generation

This commit is contained in:
Anuken
2018-10-11 12:18:23 -04:00
parent 6ee7dd56fe
commit dbcce9663c
10 changed files with 77 additions and 97 deletions

View File

@@ -37,7 +37,7 @@ public class LiquidBulletType extends BulletType{
if(liquid.canExtinguish()){
Tile tile = world.tileWorld(b.x, b.y);
if(Fire.has(tile.x, tile.y) && tile != null){
if(tile != null && Fire.has(tile.x, tile.y)){
Fire.extinguish(tile, 100f);
b.remove();
hit(b);