mirror of
https://github.com/fedddddd/iw5-gsc-utils.git
synced 2025-04-22 13:45:43 +00:00
Fix
This commit is contained in:
parent
379a21ff7e
commit
89e4edc00b
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user