Fix coding style

This commit is contained in:
小太
2014-04-15 17:04:05 +10:00
parent 516bae6078
commit f6c2debae3

View File

@@ -497,8 +497,7 @@ var Tournament = (function () {
return;
var room = Rooms.global.startBattle(challenge.from, user, this.format, this.isRated, challenge.team, user.team);
if (!room)
return;
if (!room) return;
this.pendingChallenges.set(challenge.from, null);
this.pendingChallenges.set(user, null);