@mtgame/core 0.2.38 → 0.2.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4033,7 +4033,7 @@
|
|
|
4033
4033
|
}
|
|
4034
4034
|
Object.defineProperty(GameUser.prototype, "gameUserNumber", {
|
|
4035
4035
|
get: function () {
|
|
4036
|
-
return this.number ? this.number : this.teamUser.number;
|
|
4036
|
+
return (this.number || this.number === 0) ? this.number : this.teamUser.number;
|
|
4037
4037
|
},
|
|
4038
4038
|
enumerable: false,
|
|
4039
4039
|
configurable: true
|