Commit eca0d640 authored by haiyoucuv's avatar haiyoucuv

init

parent 5c1898e6
...@@ -36,6 +36,7 @@ export default class ProPop extends Panel { ...@@ -36,6 +36,7 @@ export default class ProPop extends Panel {
val = math.clamp(1, 99, val); val = math.clamp(1, 99, val);
this._buyNum = val; this._buyNum = val;
this.numTxt.string = `${val}`; this.numTxt.string = `${val}`;
this.num.string = `${(+this.data.consumeCreditsNum) * val}`;
} }
onLoad() { onLoad() {
......
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