mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Implemented the context management part of the ScriptManager
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@61 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -40,6 +40,12 @@ void OptionalScript::parse(Reader& reader) {
|
||||
}
|
||||
}
|
||||
|
||||
void OptionalScript::initDependencies(Context& ctx, const Dependency& dep) const {
|
||||
if (script) {
|
||||
ctx.dependencies(dep, *script);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// custom reflection, different for each type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user