부대 버그
This commit is contained in:
+2
-2
@@ -108,10 +108,10 @@ if ($action == '부대가입') {
|
|||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($me['troop'] != 0){
|
if($me['troop'] === $generalID){
|
||||||
Json::die([
|
Json::die([
|
||||||
'result'=>false,
|
'result'=>false,
|
||||||
'reason'=>'이미 부대에 가입해있습니다.'
|
'reason'=>'부대장입니다.'
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user