Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/frontend/StarScriptPane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/frontend/StarScriptPane.cpp')
-rw-r--r--source/frontend/StarScriptPane.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/frontend/StarScriptPane.cpp b/source/frontend/StarScriptPane.cpp
index c98bd2c..bcd599c 100644
--- a/source/frontend/StarScriptPane.cpp
+++ b/source/frontend/StarScriptPane.cpp
@@ -88,6 +88,10 @@ bool ScriptPane::openWithInventory() const {
return m_config.getBool("openWithInventory", false);
}
+bool ScriptPane::closeWithInventory() const {
+ return m_config.getBool("closeWithInventory", openWithInventory());
+}
+
EntityId ScriptPane::sourceEntityId() const {
return m_sourceEntityId;
}