This commit is contained in:
fed 2021-12-14 10:03:59 +01:00
parent 379a21ff7e
commit 89e4edc00b

View File

@ -60,13 +60,11 @@ namespace scripting
array::array()
{
this->id_ = make_array();
this->add();
}
array::array(std::vector<script_value> values)
{
this->id_ = make_array();
this->add();
for (const auto& value : values)
{
@ -77,7 +75,6 @@ namespace scripting
array::array(std::unordered_map<std::string, script_value> values)
{
this->id_ = make_array();
this->add();
for (const auto& value : values)
{