Merge pull request #1833 from thecodingmachine/stabilize-cowebsite
Fix multi cowebsite creation by trigger
This commit is contained in:
commit
5dc3fbcce5
@ -169,7 +169,7 @@ export class GameMapPropertiesListener {
|
|||||||
callback: () => openCoWebsiteFunction(),
|
callback: () => openCoWebsiteFunction(),
|
||||||
userInputManager: this.scene.userInputManager,
|
userInputManager: this.scene.userInputManager,
|
||||||
});
|
});
|
||||||
} else if (!websiteTriggerProperty || websiteTriggerProperty === ON_ICON_TRIGGER_BUTTON) {
|
} else if (websiteTriggerProperty === ON_ICON_TRIGGER_BUTTON) {
|
||||||
const coWebsite = coWebsiteManager.addCoWebsite(
|
const coWebsite = coWebsiteManager.addCoWebsite(
|
||||||
openWebsiteProperty,
|
openWebsiteProperty,
|
||||||
this.scene.MapUrlFile,
|
this.scene.MapUrlFile,
|
||||||
|
Loading…
Reference in New Issue
Block a user