NPC 사망시 사망 년도를 <에서 <= 로 수정
This commit is contained in:
1 parent
3e3f156359
commit
3c49925999
1 file changed
+1
-1
@@ -75,7 +75,7 @@ class NPC{
|
||||
$age = $year - $this->birth;
|
||||
$name = $this->name;
|
||||
|
||||
if($this->death < $year){
|
||||
if($this->death <= $year){
|
||||
return true; //죽었으니 넘어간다.
|
||||
}
|
||||
if($age < \sammo\GameConst::$adultAge){
|
||||
|
||||
Reference in new issue
Block a user