I retook the Nick name.

This commit is contained in:
Nick Winter 2014-08-10 17:47:18 -07:00
parent 0074a04cfe
commit d1e26b40c2
3 changed files with 3 additions and 3 deletions

View file

@ -100,7 +100,7 @@ module.exports = class LevelEditView extends RootView
# Create a new Window with a blank LevelView
scratchLevelID = @level.get('slug') + '?dev=true'
scratchLevelID += "&team=#{team}" if team
if me.get('name') is 'Nick!'
if me.get('name') is 'Nick'
@childWindow = window.open("/play/level/#{scratchLevelID}", 'child_window', 'width=2560,height=1080,left=0,top=-1600,location=1,menubar=1,scrollbars=1,status=0,titlebar=1,toolbar=1', true)
else
@childWindow = window.open("/play/level/#{scratchLevelID}", 'child_window', 'width=1024,height=560,left=10,top=10,location=0,menubar=0,scrollbars=0,status=0,titlebar=0,toolbar=0', true)

View file

@ -239,7 +239,7 @@ module.exports = class SpectateLevelView extends RootView
@insertSubView new HUDView {}
worldName = utils.i18n @level.attributes, 'name'
@controlBar = @insertSubView new ControlBarView {worldName: worldName, session: @session, level: @level, supermodel: @supermodel, playableTeams: @world.playableTeams, spectateGame: true}
#Backbone.Mediator.publish('level-set-debug', debug: true) if me.displayName() is 'Nick!'
#Backbone.Mediator.publish('level-set-debug', debug: true) if me.displayName() is 'Nick'
afterInsert: ->
super()

View file

@ -236,7 +236,7 @@ module.exports = class PlayLevelView extends RootView
@insertSubView new ChatView levelID: @levelID, sessionID: @session.id, session: @session
worldName = utils.i18n @level.attributes, 'name'
@controlBar = @insertSubView new ControlBarView {worldName: worldName, session: @session, level: @level, supermodel: @supermodel, playableTeams: @world.playableTeams}
#Backbone.Mediator.publish('level-set-debug', debug: true) if me.displayName() is 'Nick!'
#Backbone.Mediator.publish('level-set-debug', debug: true) if me.displayName() is 'Nick'
initVolume: ->
volume = me.get('volume')