fix: previous inheritPoint 지정값 버그

This commit is contained in:
2021-09-16 02:43:56 +09:00
parent 8964998064
commit bac7602a1f
9 changed files with 33 additions and 24 deletions
+1 -6
View File
@@ -373,12 +373,7 @@ class Join extends \sammo\BaseAPI
if ($inheritRequiredPoint > 0) {
$inheritStor = KVStorage::getStorage(DB::db(), "inheritance_{$userID}");
$inheritStor->setValue('previous', [$inheritTotalPoint - $inheritRequiredPoint, [
'inheritBonusStat'=>$inheritBonusStat,
'inheritCity'=>$inheritCity,
'inheritSpecial'=>$inheritSpecial,
'inheritTurntime'=>$inheritTurntime,
]]);
$inheritStor->setValue('previous', [$inheritTotalPoint - $inheritRequiredPoint, null]);
}
$me = [