Skip to content
Snippets Groups Projects
Commit c1f34f5e authored by ReformCopyright's avatar ReformCopyright
Browse files

Allow name, "size", and clothing selection to be saved separately for male and...

Allow name, "size", and clothing selection to be saved separately for male and female player character.

Done by storing those attributes in subobjects of the save object and loading the other subobject when switching gender.

The mergeObjects function is made recursive in case a part of a subobject is missing for some reason.

Only drawback is that an invalid selection (more than 8 items of clothing) can become saved in the cookie.
parent c69cbfd4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment