Mindustry/core
Antsiferov Andrew c53e14dd31
Fix crash when there's no sectors on planet (#5202)
`sectors.size - 1` is `-1` when there's no sectors on planet.
relevant crash log:
```
[E] java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 16
	at arc.struct.Seq.get(Seq.java:451)
	at mindustry.type.Planet.getLastSector(Planet.java:114)
	at mindustry.ui.dialogs.PlanetDialog.show(PlanetDialog.java:185)
        ...
        at mindustry.desktop.DesktopLauncher.main(DesktopLauncher.java:36)
```
2021-05-05 14:51:35 -04:00
..
assets Update contributors (#5193) 2021-05-04 09:11:30 -04:00
assets-raw why toxopid cannon not in weapons folder (#5166) 2021-04-29 14:15:55 -04:00
src/mindustry Fix crash when there's no sectors on planet (#5202) 2021-05-05 14:51:35 -04:00
build.gradle Use core/src for kotlin source 2021-04-03 11:31:41 -04:00
convert_sounds.sh