Commit 0ba573ae authored by wildfirecode13's avatar wildfirecode13

u

parent b3494b2e
......@@ -6,8 +6,9 @@ import { showPanel } from "../../module/ctrls";
import { getImage } from "../common/getImage";
import getObject from "../common/getObject";
import { CostPanel } from "./cost";
import { getWebData, sendLog } from "../WebNet";
import { getWebData, sendLog, sendWebNet } from "../WebNet";
import { WebNetName } from "../WebNetName";
import { layers } from "../../module/views/layers";
let section;
export class PrizePanel extends Panel {
......@@ -76,6 +77,11 @@ export class PrizePanel extends Panel {
}
hidePanel() {
sendWebNet(WebNetName.index).then(res => {
layers.stage.dispatchEvent('updateIndexData')
})
this.stage.dispatchEvent("restartEnterFrame",{})
super.hidePanel();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment