diff --git a/game-server/app/services/checkParam.ts b/game-server/app/services/checkParam.ts index 825a8486e..f0d247a61 100644 --- a/game-server/app/services/checkParam.ts +++ b/game-server/app/services/checkParam.ts @@ -1711,7 +1711,7 @@ function checkBoolean(...params: boolean[]) { function checkBooleanIfExist(...params: boolean[]) { for(let param of params) { - if(!isBoolean(param)) return false; + if(param != undefined && !isBoolean(param)) return false; } return true; }