|
@@ -36,14 +36,12 @@ export class gameManager extends Component {
|
|
|
}
|
|
|
|
|
|
public static isFreeAds():boolean {
|
|
|
- // return false
|
|
|
- if(sys.platform==sys.Platform.MOBILE_BROWSER) {
|
|
|
- return true
|
|
|
- }
|
|
|
- if(gameManager.isTestUser) {
|
|
|
- return true
|
|
|
+ if(sys.platform==sys.Platform.BYTEDANCE_MINI_GAME||sys.platform==sys.Platform.WECHAT_GAME) {
|
|
|
+ if(gameManager.isTestUser==false) {
|
|
|
+ return false
|
|
|
+ }
|
|
|
}
|
|
|
- return false
|
|
|
+ return true
|
|
|
}
|
|
|
|
|
|
public static is24Free():boolean{
|