add allow_image_download setting

This commit is contained in:
GenevensiS
2026-01-04 17:31:23 +01:00
parent 099c5ae738
commit d113e30423
8 changed files with 20 additions and 19 deletions
+1 -1
View File
@@ -160,7 +160,7 @@ inline static bool set_builtin_container(const Game& game, CardP& card, ScriptVa
ScriptValueP key;
while (ScriptValueP value = it->next(&key)) {
assert(key);
if (key == script_nil) continue;
if (key == script_nil || value == script_nil) continue;
String key_name = key->toString();
Value* container = get_container(data, type, key_name, ignore_field_not_found);
set_container(container, value, key_name);