fix(player): no file request on start when live
This commit is contained in:
parent
d2bf74f7e9
commit
c428c24e59
1 changed files with 3 additions and 0 deletions
|
|
@ -45,6 +45,9 @@ export default class WebPlayer extends Player {
|
|||
super(wpState, messageManager)
|
||||
this.screen = screen
|
||||
this.messageManager = messageManager
|
||||
if (!live) { // hack. TODO: split OfflinePlayer class
|
||||
messageManager.loadMessages()
|
||||
}
|
||||
|
||||
this.targetMarker = new TargetMarker(this.screen, wpState)
|
||||
this.inspectorController = new InspectorController(screen)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue