|
@@ -68,7 +68,7 @@ class WeChat {
|
|
login(cb) {
|
|
login(cb) {
|
|
|
|
|
|
this.cb = cb || function () { }
|
|
this.cb = cb || function () { }
|
|
- if (!CC_WECHATGAME || window.tt == undefined) {
|
|
|
|
|
|
+ if (!CC_WECHATGAME && window.tt == undefined) {
|
|
GameGlobal.user = {
|
|
GameGlobal.user = {
|
|
uid: 1,
|
|
uid: 1,
|
|
token: 'lucifer_test_token',
|
|
token: 'lucifer_test_token',
|