Add missing argument to mem.setblock (#2154)

This commit is contained in:
Andrew 2021-12-25 22:56:46 +00:00 committed by GitHub
parent 9a6e0e836f
commit 6d2e6774fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ duk_ret_t ScriptAPI::js_mem_getstring(duk_context *ctx)
duk_ret_t ScriptAPI::js_mem_setblock(duk_context *ctx)
{
CheckArgs(ctx, { Arg_Number, Arg_OptNumber });
CheckArgs(ctx, { Arg_Number, Arg_Any, Arg_OptNumber });
CScriptInstance *inst = GetInstance(ctx);
CDebuggerUI *debugger = inst->Debugger();