automatically start start scripts at startup

pull/7/head
Marc Zinnschlag 15 years ago
parent 4482884eb5
commit cdcc244fc5

@ -9,6 +9,11 @@ namespace MWScript
: mStore (store), mScriptManager (scriptManager)
{
addScript ("Main");
for (ESMS::RecListT<ESM::StartScript>::MapType::const_iterator iter
(store.startScripts.list.begin());
iter != store.startScripts.list.end(); ++iter)
addScript (iter->second.script);
}
void GlobalScripts::addScript (const std::string& name)

Loading…
Cancel
Save