aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/features
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-07-12 01:41:59 +0200
committernea <nea@nea.moe>2023-07-12 01:41:59 +0200
commit637864fc4f802bf3ff765364312f33ecd7c2f596 (patch)
tree73f2c9f80cc7ec07a8bd6ea2029fc7271455d519 /src/main/kotlin/moe/nea/firmament/features
parent4d93f475aadc42c4bf83c3a0749af41659235c71 (diff)
downloadFirmament-637864fc4f802bf3ff765364312f33ecd7c2f596.tar.gz
Firmament-637864fc4f802bf3ff765364312f33ecd7c2f596.tar.bz2
Firmament-637864fc4f802bf3ff765364312f33ecd7c2f596.zip
Save storage overlay data properly
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/features')
-rw-r--r--src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlay.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlay.kt b/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlay.kt
index fae3867..ad1ca53 100644
--- a/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlay.kt
+++ b/src/main/kotlin/moe/nea/firmament/features/inventory/storageoverlay/StorageOverlay.kt
@@ -52,6 +52,7 @@ object StorageOverlay : FirmamentFeature {
is StorageBackingHandle.Overview -> rememberStorageOverview(handler, data)
is StorageBackingHandle.Page -> rememberPage(handler, data)
}
+ Data.markDirty()
}
private fun rememberStorageOverview(