mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-16 10:47:40 +07:00
Crash fixes
This commit is contained in:
@ -72,8 +72,7 @@ public class MapRenderer implements Disposable{
|
||||
IndexedRenderer mesh = chunks[x][y];
|
||||
|
||||
if(mesh == null){
|
||||
chunks[x][y] = new IndexedRenderer(chunksize * chunksize * 2);
|
||||
mesh = chunks[x][y];
|
||||
continue;
|
||||
}
|
||||
|
||||
mesh.getTransformMatrix().setToTranslation(tx, ty).scale(tw / (width * tilesize), th / (height * tilesize));
|
||||
|
Reference in New Issue
Block a user