diff --git a/twe/func.php b/twe/func.php index 50250199..36c9b23f 100644 --- a/twe/func.php +++ b/twe/func.php @@ -2064,18 +2064,28 @@ function myNationInfo($connect) { else { $nation['tech'] = "{$nation['tech']}"; } $nation['tech'] = "$techCall / {$nation['tech']}"; - - if($nation['tricklimit'] != 0) { $nation['tricklimit'] = "{$nation['tricklimit']}턴"; } - else { $nation['tricklimit'] = "가 능"; } - - if($nation['surlimit'] != 0) { $nation['surlimit'] = "{$nation['surlimit']}턴"; } - else { $nation['surlimit'] = "가 능"; } - - if($nation['scout'] != 0) { $nation['scout'] = "금 지"; } - else { $nation['scout'] = "허 가"; } - - if($nation['war'] != 0) { $nation['war'] = "금 지"; } - else { $nation['war'] = "허 가"; } + + if($me['nation']==0){ + $nation['tricklimit'] = "해당 없음"; + $nation['surlimit'] = "해당 없음"; + $nation['scout'] = "해당 없음"; + $nation['war'] = "해당 없음"; + $nation['power'] = "해당 없음"; + } else { + if($nation['tricklimit'] != 0) { $nation['tricklimit'] = "{$nation['tricklimit']}턴"; } + else { $nation['tricklimit'] = "가 능"; } + + if($nation['surlimit'] != 0) { $nation['surlimit'] = "{$nation['surlimit']}턴"; } + else { $nation['surlimit'] = "가 능"; } + + if($nation['scout'] != 0) { $nation['scout'] = "금 지"; } + else { $nation['scout'] = "허 가"; } + + if($nation['war'] != 0) { $nation['war'] = "금 지"; } + else { $nation['war'] = "허 가"; } + + + } if($me['skin'] == 0) { $nation['tech'] = unfont($nation['tech']);