Commit e3fc5986 authored by wildfirecode's avatar wildfirecode

1

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