mirror of
https://github.com/NeoFlock/neonucleus.git
synced 2026-02-15 04:03:49 +01:00
fixed a huge bug
This commit is contained in:
parent
ca8387a9e1
commit
69c6d953da
@ -1448,7 +1448,7 @@ nn_Exit nn_pusharraytable(nn_Computer *computer, size_t len) {
|
||||
t->len = len;
|
||||
for(size_t i = 0; i < len; i++) {
|
||||
t->vals[i*2].type = NN_VAL_NUM;
|
||||
t->vals[i*2].number = (double)i;
|
||||
t->vals[i*2].number = (double)i+1;
|
||||
t->vals[i*2+1] = computer->callstack[computer->stackSize - len + i];
|
||||
}
|
||||
computer->stackSize -= len;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user