mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
Don't wait for simulation load progress on game-dev levels
This commit is contained in:
parent
e51186ec46
commit
fad53cf43f
1 changed files with 4 additions and 3 deletions
|
@ -217,9 +217,10 @@ module.exports = class PlayLevelView extends RootView
|
|||
# TODO: Update terminology to always be opponentSession or otherSession
|
||||
# TODO: E.g. if it's always opponent right now, then variable names should be opponentSession until we have coop play
|
||||
@otherSession = @levelLoader.opponentSession
|
||||
@worldLoadFakeResources = [] # first element (0) is 1%, last (99) is 100%
|
||||
for percent in [1 .. 100]
|
||||
@worldLoadFakeResources.push @supermodel.addSomethingResource 1
|
||||
unless @level.isType('game-dev')
|
||||
@worldLoadFakeResources = [] # first element (0) is 1%, last (99) is 100%
|
||||
for percent in [1 .. 100]
|
||||
@worldLoadFakeResources.push @supermodel.addSomethingResource 1
|
||||
@renderSelectors '#stop-real-time-playback-button'
|
||||
|
||||
onWorldLoadProgressChanged: (e) ->
|
||||
|
|
Loading…
Reference in a new issue