Small fix

This commit is contained in:
alice committed 2021-06-18 23:01:15 +02:00
1 parent 8320865a46
commit 5b91a6284d
1 file changed
+4
+4
View File
@@ -283,6 +283,8 @@ namespace scripting
void add_array_key_value(unsigned int parent_id, const std::string& _key, const scripting::script_value& value)
{
stack_isolation _;
const auto key = game::SL_GetString(_key.data(), 0);
scripting::push_value(scripting::entity(parent_id));
@@ -292,6 +294,8 @@ namespace scripting
void add_array_value(unsigned int parent_id, const scripting::script_value& value)
{
stack_isolation _;
scripting::push_value(scripting::entity(parent_id));
scripting::push_value(value);
game::Scr_AddArray();