NPC 생성시 버그 수정

서버 리셋되었을 때 세션 값 안정을 위해 serverID 개념을 추가.
This commit is contained in:
2018-04-01 01:20:35 +09:00
parent 0f97ae8da9
commit 1ddd26c8a1
9 changed files with 64 additions and 34 deletions
+1
View File
@@ -73,6 +73,7 @@ class NPC{
$year = $env['year'];
$month = $env['month'];
$age = $year - $this->birth;
$name = $this->name;
if($this->death < $year){
return true; //죽었으니 넘어간다.