From 89e4edc00b5e5dcc22247217a92c79dfb05c4c2b Mon Sep 17 00:00:00 2001 From: fed <58637860+fedddddd@users.noreply.github.com> Date: Tue, 14 Dec 2021 10:03:59 +0100 Subject: [PATCH] Fix --- src/game/scripting/array.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/game/scripting/array.cpp b/src/game/scripting/array.cpp index 09c22db..6a15d96 100644 --- a/src/game/scripting/array.cpp +++ b/src/game/scripting/array.cpp @@ -60,13 +60,11 @@ namespace scripting array::array() { this->id_ = make_array(); - this->add(); } array::array(std::vector values) { this->id_ = make_array(); - this->add(); for (const auto& value : values) { @@ -77,7 +75,6 @@ namespace scripting array::array(std::unordered_map values) { this->id_ = make_array(); - this->add(); for (const auto& value : values) {