Skip to content

Commit

Permalink
Fix reference to player
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleconroy committed Nov 1, 2013
1 parent 493e14b commit 115824d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nodes/cornelius_head.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function Cornelius:update(dt)
self:animation():update(dt)
self:moveBoundingBox()
if self.score >= 4000 and self.character.name == 'pierce' and self.character.costume == 'base' then
player.character.costume = 'happy'
self.character.costume = 'happy'
end
end

Expand Down

0 comments on commit 115824d

Please sign in to comment.