mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 10:06:08 -05:00
Slight tweak.
This commit is contained in:
parent
dc32add6cb
commit
17af4cec0c
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ module.exports = class Simulator extends CocoClass
|
||||||
# TODO: More teardown?
|
# TODO: More teardown?
|
||||||
|
|
||||||
fetchAndSimulateTask: =>
|
fetchAndSimulateTask: =>
|
||||||
|
return if @destroyed
|
||||||
@trigger 'statusUpdate', 'Fetching simulation data!'
|
@trigger 'statusUpdate', 'Fetching simulation data!'
|
||||||
$.ajax
|
$.ajax
|
||||||
url: @taskURL
|
url: @taskURL
|
||||||
|
|
Loading…
Reference in a new issue