Fix getting arguments

This commit is contained in:
Federico Cecchetto
2021-05-29 22:32:31 +02:00
parent 90151c0b38
commit dc2d8135cd
3 changed files with 4 additions and 3 deletions

View File

@ -145,7 +145,7 @@ namespace scripting
push_value(*i);
}
game::AddReftoObject(id);
game::AddRefToObject(id);
const auto local_id = game::AllocThread(id);
const auto result = game::VM_Execute(local_id, pos, arguments.size());