adding error log if name of square in Tile not matching with the param targetObject of OpenPopup in script.js
This commit is contained in:
parent
8d0411e8a3
commit
f9f618094d
3 changed files with 51 additions and 25 deletions
|
@ -81,10 +81,9 @@ window.WA = {
|
|||
popupId++;
|
||||
|
||||
const popup = new Popup(popupId);
|
||||
|
||||
const btnMap = new Map<number, () => void>();
|
||||
popupCallbacks.set(popupId, btnMap);
|
||||
|
||||
targetObject = "tutoBobble";
|
||||
let id = 0;
|
||||
for (const button of buttons) {
|
||||
const callback = button.callback;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue