Fix button action when user have activated
This commit is contained in:
parent
74de2746c2
commit
fcb7f364b6
@ -474,6 +474,7 @@ export class GameScene extends ResizableScene implements CenterListener {
|
||||
}else{
|
||||
layoutManager.addActionButton('openWebsite', 'Clik on SPACE to open web site', () => {
|
||||
coWebsiteManager.loadCoWebsite(newValue as string);
|
||||
layoutManager.removeActionButton('openWebsite', this.userInputManager);
|
||||
}, this.userInputManager);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user