mirror of
https://github.com/array-in-a-matrix/brainwine.git
synced 2025-04-02 11:11:58 -04:00
Fixed exploration progress not loading
This commit is contained in:
parent
fc88e8a501
commit
9eb5037f30
1 changed files with 2 additions and 2 deletions
|
@ -610,11 +610,11 @@ public class Zone {
|
|||
}
|
||||
|
||||
public void setChunksExplored(boolean[] chunksExplored) {
|
||||
if(chunksExplored.length != width * height) {
|
||||
if(chunksExplored.length != getChunkCount()) {
|
||||
return;
|
||||
}
|
||||
|
||||
System.arraycopy(chunksExplored, 0, this.chunksExplored, 0, width * height);
|
||||
System.arraycopy(chunksExplored, 0, this.chunksExplored, 0, chunksExplored.length);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue