inherit target ID when starting a script from another script

deque
Marc Zinnschlag 11 years ago
parent 27c84d6cb7
commit 8952154488

@ -26,7 +26,7 @@ namespace Interpreter
{
std::string name = runtime.getStringLiteral (runtime[0].mInteger);
runtime.pop();
runtime.getContext().startScript (name);
runtime.getContext().startScript (name, runtime.getContext().getTargetId());
}
};

Loading…
Cancel
Save