diff --git a/webapp/controller/RoleController.class.php b/webapp/controller/RoleController.class.php index 5fbe67c..45a05a7 100644 --- a/webapp/controller/RoleController.class.php +++ b/webapp/controller/RoleController.class.php @@ -130,11 +130,11 @@ class RoleController{ return; } } else { - if ($kills < $row['kill_his']) { - $high_kill = $row['kill_his']; + if ($kill_his < $row['kill_his']) { + $kill_his = $row['kill_his']; } - if ($harm < $row['harm_his']) { - $high_harm = $row['harm_his']; + if ($harm_his < $row['harm_his']) { + $harm_his = $row['harm_his']; } if ($rank == 1) { $row['win_times']++;