Skip to content

Commit

Permalink
Fixed team changing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
NullSoldier committed Jan 25, 2015
1 parent fc051b2 commit 4893099
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ class WitchGame implements Worldish {
}

setTeam(player : Player, teamID : number) {
player.teamID = teamID

// if you set the team to null, clear the influence sprite
if (teamID === null && player.influenceSprite.parent) {
Expand Down

0 comments on commit 4893099

Please sign in to comment.