mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 05:53:39 -04:00
Fixed another bug from the refactoring.
This commit is contained in:
parent
b65b553f2d
commit
326057a816
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ module.exports = Surface = class Surface extends CocoClass
|
|||
|
||||
onSetCamera: (e) ->
|
||||
if e.thangID
|
||||
return unless target = @lankBoss.spriteFor(e.thangID)?.sprite
|
||||
return unless target = @lankBoss.lankFor(e.thangID)?.sprite
|
||||
else if e.pos
|
||||
target = @camera.worldToSurface e.pos
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue