Fixes autoobserve storage interfaces getting stuck for ghosts (#93460)

## About The Pull Request

Closes #93459

## Changelog
🆑
fix: Fixed autoobserve storage interfaces getting stuck for ghosts
/🆑
This commit is contained in:
SmArtKar
2025-10-18 19:05:43 +02:00
committed by GitHub
parent 79ee82070c
commit d760d3e5ab
+1 -1
View File
@@ -344,7 +344,7 @@ GLOBAL_LIST_INIT(available_ui_styles, list(
screenmob.client.screen += infodisplay
if(always_visible_inventory.len)
screenmob.client.screen += always_visible_inventory
if(open_containers.len)
if(open_containers.len && screenmob == mymob) // Don't show open inventories to ghosts
screenmob.client.screen += open_containers
screenmob.client.screen += toggle_palette