boss孙策去除可枚举判定(由于现在game.over不可枚举)
This commit is contained in:
parent
8616e14a17
commit
e791d615d6
|
@ -8818,7 +8818,7 @@ game.import('mode',function(lib,game,ui,get,ai,_status){
|
||||||
}
|
}
|
||||||
function isDefined(opd) {
|
function isDefined(opd) {
|
||||||
if(opd!=undefined){
|
if(opd!=undefined){
|
||||||
if (opd.get||opd.set||opd.writable!=true||opd.configurable!=true||opd.enumerable!=true){
|
if (opd.get||opd.set||opd.writable!=true||opd.configurable!=true){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue