Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

Commit

Permalink
FUCKING JASPERVDJ
Browse files Browse the repository at this point in the history
  • Loading branch information
Toon Willems committed Apr 29, 2014
1 parent 38565f7 commit a838521
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions boxxy/src/boxxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ Boxxy.prototype.putState = function(stateDelta) {

// This signifies the change melted -> frozen
if(stateDelta.frozen != null && stateDelta.frozen && !this.frozen) {
this.laps = stateDelta.laps;
this.teams = stateDelta.teams;
if(stateDelta.laps && stateDelta.teams) {
this.laps = stateDelta.laps;
this.teams = stateDelta.teams;
}
this.frozenLaps = this.laps;
this.frozenTeams = this.teams;
this.frozen = true;
Expand Down

0 comments on commit a838521

Please sign in to comment.