aboutsummaryrefslogtreecommitdiffstats
path: root/stella.js
diff options
context:
space:
mode:
Diffstat (limited to 'stella.js')
-rw-r--r--stella.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/stella.js b/stella.js
index 2b4edc6..902e316 100644
--- a/stella.js
+++ b/stella.js
@@ -630,9 +630,9 @@
if (p.has(func, 'rwt'))
p.toggle(func);
else if (p.has(func, 'rw'))
- p[func] = arg.arguments[0];
+ p[func] = arg[0];
else if (p.has(func, 'x'))
- p[func].apply(p, arg.arguments);
+ p[func].apply(p, arg);
stella.update();
},
{argCount: '*', bang: !!funcB},