refeshNationStaticInfo 함수 추가

getNationStaticInfo 함수에 level 추가
This commit is contained in:
Hide_D committed 2018-02-24 02:47:50 +09:00
1 parent e5d923643d
commit b28603d16f
7 files changed
+23 -16

No files matched your search

+4 -2
View File
@@ -868,7 +868,7 @@ function checkMerge($connect) {
unset($youlog);
unset($history);
getNationStaticInfo(null, true);
refreshNationStaticInfo();
}
}
@@ -988,7 +988,7 @@ function checkSurrender($connect) {
unset($youlog);
unset($history);
getNationStaticInfo(null, true);
refreshNationStaticInfo();
}
}
@@ -1058,6 +1058,8 @@ function updateNationState($connect) {
//작위 상승
$query = "update nation set level='{$nation['level']}' where nation='{$nation['nation']}'";
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
refreshNationStaticInfo();
}
$gennum = $gencount;
if($gencount < 10) $gencount = 10;