summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/creditsMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/creditsMgr.cpp b/src/creditsMgr.cpp
index 216b78b..a84fe40 100644
--- a/src/creditsMgr.cpp
+++ b/src/creditsMgr.cpp
@@ -165,7 +165,7 @@ int dCreditsMgr_c::onCreate() {
int dCreditsMgr_c::onDelete() {
scriptLoader.unload();
- return layout.free();
+ return layout.free() && titleLayout.free();
}
extern "C" bool SpawnEffect(const char*, int, Vec*, S16Vec*, Vec*);
int dCreditsMgr_c::onExecute() {