|
@@ -883,11 +883,15 @@ class StoreProc {
|
|
|
my_Assert($tag_gem == null, ErrCode::user_store_GemCanotSet);
|
|
|
$go_index = 1;
|
|
|
for ($i = 1; $i <= $mo->initNum_slot + $mo->buyNum_slot; $i++) {
|
|
|
- if (!StlUtil::dictHasProperty($gemSetSlotDic, $i) || $gemSetSlotDic->$i == 0) {
|
|
|
+ if (!StlUtil::dictHasProperty($gemSetSlotDic, $i)) {
|
|
|
//$gemSetSlotDic->$i = $ins_gem;
|
|
|
$go_index = $i;
|
|
|
break;
|
|
|
- }
|
|
|
+ }
|
|
|
+ if($gemSetSlotDic->$i == 0){
|
|
|
+ $go_index = $i;
|
|
|
+ break;
|
|
|
+ }
|
|
|
}
|
|
|
$gemSetSlotDic->$go_index = $uid;
|
|
|
break;
|