Fixed #2197
This commit is contained in:
@@ -234,6 +234,7 @@ public class MapEditorDialog extends Dialog implements Disposable{
|
|||||||
show();
|
show();
|
||||||
state.rules = (lastSavedRules == null ? new Rules() : lastSavedRules);
|
state.rules = (lastSavedRules == null ? new Rules() : lastSavedRules);
|
||||||
lastSavedRules = null;
|
lastSavedRules = null;
|
||||||
|
saved = false;
|
||||||
editor.renderer().updateAll();
|
editor.renderer().updateAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ public class CoreBlock extends StorageBlock{
|
|||||||
new Bar(
|
new Bar(
|
||||||
() -> Core.bundle.format("bar.capacity", ui.formatAmount(e.storageCapacity)),
|
() -> Core.bundle.format("bar.capacity", ui.formatAmount(e.storageCapacity)),
|
||||||
() -> Pal.items,
|
() -> Pal.items,
|
||||||
() -> e.items().total() / ((float)e.storageCapacity * content.items().size)
|
() -> e.items().total() / ((float)e.storageCapacity * content.items().count(i -> i.unlockedNow()))
|
||||||
));
|
));
|
||||||
|
|
||||||
bars.add("units", e ->
|
bars.add("units", e ->
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
org.gradle.daemon=true
|
org.gradle.daemon=true
|
||||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||||
archash=9e073900d360393ecbd369cce736fdbc035b9e38
|
archash=6a8eb57007ff1b0ae465fbfe9983edb585964823
|
||||||
|
|||||||
Reference in New Issue
Block a user