mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-09-01 13:57:31 +00:00
Fix
This commit is contained in:
@@ -60,13 +60,11 @@ namespace scripting
|
|||||||
array::array()
|
array::array()
|
||||||
{
|
{
|
||||||
this->id_ = make_array();
|
this->id_ = make_array();
|
||||||
this->add();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
array::array(std::vector<script_value> values)
|
array::array(std::vector<script_value> values)
|
||||||
{
|
{
|
||||||
this->id_ = make_array();
|
this->id_ = make_array();
|
||||||
this->add();
|
|
||||||
|
|
||||||
for (const auto& value : values)
|
for (const auto& value : values)
|
||||||
{
|
{
|
||||||
@@ -77,7 +75,6 @@ namespace scripting
|
|||||||
array::array(std::unordered_map<std::string, script_value> values)
|
array::array(std::unordered_map<std::string, script_value> values)
|
||||||
{
|
{
|
||||||
this->id_ = make_array();
|
this->id_ = make_array();
|
||||||
this->add();
|
|
||||||
|
|
||||||
for (const auto& value : values)
|
for (const auto& value : values)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user