fix: previous inheritPoint 지정값 버그

This commit is contained in:
Hide_D authored and Gitea committed 2021-09-15 19:06:15 +00:00
1 parent b9259353f4
commit 942b2752f5
9 files changed
+33 -24

No files matched your search

@@ -72,7 +72,7 @@ class BuySpecificUnique extends \sammo\BaseAPI
$itemTrials[$itemKey] = $amount;
$general->setAuxVar('inheritUniqueTrial', $itemTrials);
$inheritStor->setValue('previous', [$previousPoint - $amount, ['BuySpecificUnique', $itemKey, $amount]]);
$inheritStor->setValue('previous', [$previousPoint - $amount, null]);
$trialStor->setValue("u{$userID}", [$userID, $generalID, $amount]);
$general->applyDB($db);
return null;