aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/LResource.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/LResource.cc')
-rw-r--r--src/FbTk/LResource.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/FbTk/LResource.cc b/src/FbTk/LResource.cc
index 589e52f..cf6afaa 100644
--- a/src/FbTk/LResource.cc
+++ b/src/FbTk/LResource.cc
@@ -104,6 +104,8 @@ LResourceManager::LResourceManager(const std::string &root, Lua &l, unsigned int
104LResourceManager::LResourceManager(ResourceManager &old, Lua &l) 104LResourceManager::LResourceManager(ResourceManager &old, Lua &l)
105 : ResourceManager_base(old.root()), m_l(&l) { 105 : ResourceManager_base(old.root()), m_l(&l) {
106 106
107 setLua(l);
108
107 // We create a copy of the list so we can safely traverse it while the resources disassociate 109 // We create a copy of the list so we can safely traverse it while the resources disassociate
108 // themselves from the old resource manager 110 // themselves from the old resource manager
109 ResourceList list; 111 ResourceList list;