Merge branches 'better-diagonals' and 'master' of https://github.com/Anuken/Mindustry
This commit is contained in:
4
.github/workflows/gradle.yml
vendored
4
.github/workflows/gradle.yml
vendored
@@ -13,5 +13,5 @@ jobs:
|
||||
uses: actions/setup-java@v1
|
||||
with:
|
||||
java-version: 1.8
|
||||
- name: Run unit tests with gradle
|
||||
run: ./gradlew test
|
||||
#- name: Run unit tests with gradle
|
||||
# run: ./gradlew test
|
||||
|
||||
@@ -14,7 +14,7 @@ import io.anuke.mindustry.world.meta.values.*;
|
||||
|
||||
import static io.anuke.mindustry.Vars.*;
|
||||
|
||||
public abstract class LiquidTurret extends Turret{
|
||||
public class LiquidTurret extends Turret{
|
||||
protected ObjectMap<Liquid, BulletType> ammo = new ObjectMap<>();
|
||||
|
||||
public LiquidTurret(String name){
|
||||
|
||||
@@ -230,6 +230,7 @@ public class ServerControl implements ApplicationListener{
|
||||
}else{
|
||||
Array<Map> maps = Vars.maps.customMaps().size == 0 ? Vars.maps.defaultMaps() : Vars.maps.customMaps();
|
||||
result = maps.random();
|
||||
info("Randomized next map to be {0}.", result.name());
|
||||
}
|
||||
|
||||
Gamemode preset = Gamemode.survival;
|
||||
|
||||
Reference in New Issue
Block a user