@mtgame/core 0.1.52 → 0.1.53
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.
- package/bundles/mtgame-core.umd.js +2 -2
- package/bundles/mtgame-core.umd.js.map +1 -1
- package/bundles/mtgame-core.umd.min.js +1 -1
- package/bundles/mtgame-core.umd.min.js.map +1 -1
- package/esm2015/models/game.js +3 -3
- package/esm5/models/game.js +3 -3
- package/fesm2015/mtgame-core.js +2 -2
- package/fesm2015/mtgame-core.js.map +1 -1
- package/fesm5/mtgame-core.js +2 -2
- package/fesm5/mtgame-core.js.map +1 -1
- package/package.json +1 -1
package/fesm5/mtgame-core.js
CHANGED
|
@@ -2028,10 +2028,10 @@ var Game = /** @class */ (function (_super) {
|
|
|
2028
2028
|
return null;
|
|
2029
2029
|
}
|
|
2030
2030
|
if (this.isTeamWon) {
|
|
2031
|
-
return this.team.id;
|
|
2031
|
+
return this.team.id || this.teamId;
|
|
2032
2032
|
}
|
|
2033
2033
|
if (this.isCompetitorTeamWon) {
|
|
2034
|
-
return this.competitorTeam.id;
|
|
2034
|
+
return this.competitorTeam.id || this.competitorTeamId;
|
|
2035
2035
|
}
|
|
2036
2036
|
return null;
|
|
2037
2037
|
},
|