NPC 생성시 버그 수정

서버 리셋되었을 때 세션 값 안정을 위해 serverID 개념을 추가.
This commit is contained in:
Hide_D committed 2018-04-01 01:20:35 +09:00
1 parent 0f97ae8da9
commit 1ddd26c8a1
9 files changed
+64 -34

No files matched your search

+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; //죽었으니 넘어간다.