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

We probably don't need to convert old genderless player profiles any longer.

parent e15bc09c
No related branches found
No related tags found
No related merge requests found
......@@ -57,19 +57,6 @@ function Save(){
if(cookie !== undefined){
this.data = mergeObjects(this.data, JSON.parse(cookie));
}
// Copy data from older cookie to the gender-specific substructure.
if (this.data['name'] !== undefined) {
this.data[this.data['gender']]['name'] = this.data['name'];
delete this.data['name'];
}
if (this.data['clothing'] !== undefined) {
this.data[this.data['gender']]['clothing'] = this.data['clothing'];
delete this.data['clothing'];
}
if (this.data['size'] !== undefined) {
this.data[this.data['gender']]['size'] = this.data['size'];
delete this.data['size'];
}
this.loadOptions();
this.loadPlayer();
};
......
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