Browse Source

Terrain type is capitalized

magicbox-1.5.2
MagicBot 1 year ago
parent
commit
0d58aee2fe
  1. 2
      src/engine/objects/Zone.java

2
src/engine/objects/Zone.java

@ -110,7 +110,7 @@ public class Zone extends AbstractGameObject {
this.terrain_type = "PLANAR"; this.terrain_type = "PLANAR";
} }
if (this.terrain_type.equals("None")) if (this.terrain_type.equals("NONE"))
this.terrain = null; this.terrain = null;
else else
this.terrain = new Terrain(this); this.terrain = new Terrain(this);

Loading…
Cancel
Save