|
@@ -391,7 +391,8 @@ export default class RabbitGameFrameView extends cc.Component {
|
|
|
let score = Global.getInstance().balanceTotal - this.curBetScore;
|
|
|
if (score < 0) {
|
|
|
AudioPlayer.playEffect("sound/moneyless");
|
|
|
- cc.director.emit("showNoMoneyTip");
|
|
|
+ // cc.director.emit("showNoMoneyTip");
|
|
|
+ this.frame.showLowLackMoney()
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -439,7 +440,8 @@ export default class RabbitGameFrameView extends cc.Component {
|
|
|
let score = Global.getInstance().balanceTotal - this.curBetScore;
|
|
|
if (score < 0) {
|
|
|
AudioPlayer.playEffect("sound/moneyless", false);
|
|
|
- cc.director.emit("showNoMoneyTip");
|
|
|
+ // cc.director.emit("showNoMoneyTip");
|
|
|
+ this.frame.showLowLackMoney()
|
|
|
return;
|
|
|
}
|
|
|
|
|
@@ -913,7 +915,8 @@ export default class RabbitGameFrameView extends cc.Component {
|
|
|
this.comp_iconView.repeatIconAnima(this.isSpeedUp);
|
|
|
} else {
|
|
|
AudioPlayer.playEffect("sound/moneyless");
|
|
|
- cc.director.emit("showNoMoneyTip");
|
|
|
+ // cc.director.emit("showNoMoneyTip");
|
|
|
+ this.frame.showLowLackMoney()
|
|
|
}
|
|
|
}
|
|
|
|