Skip to content
Snippets Groups Projects
Commit bee2b038 authored by FarawayVision's avatar FarawayVision
Browse files

Initialize player.labels to undefined instead of an empty array

parent f3afdfc9
No related branches found
No related tags found
No related merge requests found
......@@ -267,7 +267,7 @@ function Player (id) {
this.folder = 'opponents/'+id+'/';
this.first = '';
this.last = '';
this.labels = [];
this.labels = undefined;
this.size = eSize.MEDIUM;
this.intelligence = eIntelligence.AVERAGE;
this.gender = eGender.MALE;
......
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