fix: 유산 포인트 반영시 ownerID가 아니라 generalID 를 사용하는 버그
This commit is contained in:
1 parent
e30aff8ca2
commit
1ab5fcb36f
3 files changed
+3
-3
No files matched your search
@@ -27,6 +27,6 @@ foreach ($db->queryFirstColumn(
|
||||
|
||||
foreach(General::createGeneralObjListFromDB($db->queryFirstColumn('SELECT `no` FROM general WHERE npc = 0')) as $genObj){
|
||||
$genObj->mergeTotalInheritancePoint(true);
|
||||
applyInheritanceUser($genObj->getID());
|
||||
applyInheritanceUser($genObj->getVar('owner'));
|
||||
$genObj->clearInheritancePoint();
|
||||
}
|
||||
@@ -1029,7 +1029,7 @@ function checkEmperior()
|
||||
};
|
||||
}
|
||||
$genObj->mergeTotalInheritancePoint(true);
|
||||
applyInheritanceUser($genObj->getID());
|
||||
applyInheritanceUser($genObj->getVar('owner'));
|
||||
$genObj->clearInheritancePoint();
|
||||
}
|
||||
|
||||
|
||||
@@ -652,7 +652,7 @@ class General implements iAction
|
||||
}
|
||||
|
||||
$this->mergeTotalInheritancePoint();
|
||||
applyInheritanceUser($this->getID());
|
||||
applyInheritanceUser($this->getVar('owner'));
|
||||
$this->clearInheritancePoint();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user