Fixed legacy maps loading with no team

This commit is contained in:
Anuken 2019-03-12 13:35:25 -04:00
parent 8ad6f3abcc
commit 41f734b04d

View File

@ -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)));