fixed bugs in the resource manager and removed the hardcoded textures
[laserbrain_demo] / src / dataset.inl
index 5f0fbf9..1df20d5 100644 (file)
@@ -45,6 +45,7 @@ T DataSet<T>::get(const char *name) const
        }
 
        T res = create();
+       data[name] = res;
        resman_lookup(rman, name, res);
        return res;
 }