mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-29 22:15:32 +00:00
inherit target ID when starting a script from another script
This commit is contained in:
parent
27c84d6cb7
commit
8952154488
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue