Allow targeting non-unique actors with StartScript (bug #2311)

This commit is contained in:
unknown 2020-05-10 14:57:06 +02:00
parent 7a6ba8bf7a
commit 3b4782959e
20 changed files with 309 additions and 118 deletions

View file

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