PIXI Controls: Fix multiple controls creating on title
This commit is contained in:
parent
6eb3bed55a
commit
fb6ab59383
2 changed files with 6 additions and 2 deletions
|
@ -113,7 +113,9 @@ Scene_OmoriTitleScreen.prototype.create = function () {
|
||||||
Scene_BaseEX.prototype.create.call(this);
|
Scene_BaseEX.prototype.create.call(this);
|
||||||
|
|
||||||
// ONSControls
|
// ONSControls
|
||||||
ONSControls.initialize();
|
if (ONSControls._controlsCanvas === undefined) {
|
||||||
|
ONSControls.initialize();
|
||||||
|
}
|
||||||
|
|
||||||
this.createFilters();
|
this.createFilters();
|
||||||
// Create Background
|
// Create Background
|
||||||
|
|
|
@ -113,7 +113,9 @@ Scene_OmoriTitleScreen.prototype.create = function () {
|
||||||
Scene_BaseEX.prototype.create.call(this);
|
Scene_BaseEX.prototype.create.call(this);
|
||||||
|
|
||||||
// ONSControls
|
// ONSControls
|
||||||
ONSControls.initialize();
|
if (ONSControls._controlsCanvas === undefined) {
|
||||||
|
ONSControls.initialize();
|
||||||
|
}
|
||||||
|
|
||||||
this.createFilters();
|
this.createFilters();
|
||||||
// Create Background
|
// Create Background
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue