Commit e3fc5986 authored by wildfirecode's avatar wildfirecode

1

parent 522e87d9
...@@ -159,10 +159,10 @@ export default class SlotPanel extends Panel { ...@@ -159,10 +159,10 @@ export default class SlotPanel extends Panel {
} }
private renderConveyor = async (container: any) => { private renderConveyor = async (container: any) => {
let conveyor let conveyor = new egret.Bitmap(RES.getRes('conveyor_png'));
await loadImageByUrl('conveyor_png').then((img: any) => { // await loadImageByUrl('conveyor_png').then((img: any) => {
conveyor = img // conveyor = img
}) // })
this.conveyorList = [] this.conveyorList = []
for (let i = 0; i < this.optionList.length; i++) { for (let i = 0; i < this.optionList.length; i++) {
let conveyorHash let conveyorHash
......
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