diff --git a/webapp/controller/KefuController.class.php b/webapp/controller/KefuController.class.php index 4102e3a..ce41a0b 100644 --- a/webapp/controller/KefuController.class.php +++ b/webapp/controller/KefuController.class.php @@ -55,7 +55,7 @@ class KefuController { error_log($response); $ret = json_decode($response, true); if ($ret['errcode'] == 0) { - if ($gameid == 2001) { + if ($gameid >= 2001 && $gameid < 3000) { if (count($ret['items']) > 0) { $item = $ret['items'][rand() % count($ret['items'])]; error_log(json_encode($item));