From 6235c6031c2b382c53616dfbcc3b9632fefaee33 Mon Sep 17 00:00:00 2001 From: wangwei01 Date: Fri, 10 May 2019 12:10:24 +0800 Subject: [PATCH] 1 --- webapp/controller/RoleController.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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']++;