mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 07:07:33 +00:00
fix undef prop
This commit is contained in:
parent
a8b7cad002
commit
e6db2a9b72
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ class Players extends Array {
|
|||
// run out of ram allocating these objects.
|
||||
num = Math.min(num, 10000);
|
||||
|
||||
while(this.players.length < num) {
|
||||
while(this.length < num) {
|
||||
this.push({});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue