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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user