From 41f734b04da576371570a47ecf6d53656199578f Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 12 Mar 2019 13:35:25 -0400 Subject: [PATCH] Fixed legacy maps loading with no team --- core/src/io/anuke/mindustry/io/MapIO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/io/anuke/mindustry/io/MapIO.java b/core/src/io/anuke/mindustry/io/MapIO.java index 543fed8702..e8f647d8cf 100644 --- a/core/src/io/anuke/mindustry/io/MapIO.java +++ b/core/src/io/anuke/mindustry/io/MapIO.java @@ -414,8 +414,8 @@ public class MapIO{ Tile tile = tiles.get(x, y); byte floorb = stream.readByte(); byte blockb = stream.readByte(); - byte rotTeamb = stream.readByte(); byte link = stream.readByte(); + byte rotTeamb = stream.readByte(); stream.readByte();//unused stuff tile.setFloor((Floor)content.block(map.get(floorb, 0)));