forked from 0ad/0ad
Adds missing request (fixes tests in debug mode).
This was SVN commit r15530.
This commit is contained in:
parent
882f3406e3
commit
09e04cb741
@ -1267,6 +1267,7 @@ bool ScriptInterface::LoadGlobalScriptFile(const VfsPath& path)
|
||||
|
||||
bool ScriptInterface::Eval(const char* code)
|
||||
{
|
||||
JSAutoRequest rq(m->m_cx);
|
||||
JS::RootedValue rval(m->m_cx);
|
||||
return Eval_(code, &rval);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user