Skip to content

Commit 20e25e4

Browse files
authored
fix: Test-Slave Incubators save/loading (#712)
1 parent 2499b7e commit 20e25e4

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

objects/obj_ini/Create_0.gml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@ serialize = function(){
152152
artifact_struct: artifact_struct_trimmed,
153153
marine_structs: marines,
154154
squad_structs: squads,
155-
equipment: equipment
155+
equipment: equipment,
156+
gene_slaves: gene_slaves
156157
// marines,
157158
// squads
158159
}
@@ -250,6 +251,10 @@ deserialize = function(save_data){
250251
}
251252
}
252253
}
254+
255+
if(struct_exists(save_data, "gene_slaves")){
256+
variable_struct_set(obj_ini, "gene_slaves", save_data.gene_slaves);
257+
}
253258
}
254259

255260

0 commit comments

Comments
 (0)