diff --git a/webapp/controller/RoleController.class.php b/webapp/controller/RoleController.class.php index 781c9ec..c021593 100644 --- a/webapp/controller/RoleController.class.php +++ b/webapp/controller/RoleController.class.php @@ -615,7 +615,7 @@ class RoleController{ $ar = $this->getRankReward($rank); $coin_num = $ar['zbmode_param']; $kills = $_REQUEST['kills']; - $row = $conn->execQueryOne('SELECT daily_time, coin_num, biogame_times, kills FROM user WHERE accountid=:accountid;', + $row = $conn->execQueryOne('SELECT daily_time, coin_num, biogame_times, kills, game_times FROM user WHERE accountid=:accountid;', array( ':accountid' => $account_id )); @@ -646,6 +646,7 @@ class RoleController{ ':daily_time' => $daily_time, ':biogame_times' => $row['biogame_times'] + 1, ':kills' => $row['kills'] + $kills, + ':game_times' => $row['game_times'] + 1, )); if (!$ret) { die();