건국되지 않았을 때 버튼 처리 변경

This commit is contained in:
2018-04-21 07:57:26 +09:00
parent f2537b20de
commit 8fe3d0258a
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -101,7 +101,7 @@ function commandButton() {
$db = DB::db();
$me = $db->queryFirstRow("select no,nation,level,belong from general where owner=%i", $userID);
$nation = $db->queryFirstRow("select nation,color,secretlimit from nation where nation=%i",$me['nation']);
$nation = $db->queryFirstRow("select nation,level,color,secretlimit from nation where nation=%i",$me['nation']);
if($nation['color'] == "") { $nation['color'] = "#000000"; }
@@ -125,6 +125,7 @@ function commandButton() {
'bgColor'=>$bgColor,
'fgColor'=>$fgColor,
'meLevel'=>$me['level'],
'nationLevel'=>$nation['level'],
'showSecret'=>$showSecret
]);
}