추방 몰수 선포 등 상황에서 메시지 안 나타나는 버그 수정

This commit is contained in:
2018-04-18 22:34:13 +09:00
parent df26c511b5
commit 5187ebbf52
4 changed files with 76 additions and 25 deletions
+17 -1
View File
@@ -165,7 +165,23 @@ if($btn == "추방") {
case 4: $str = "날 추방했으니 그 복수로 적국에 정보를 팔아 넘겨야겠군요. 그럼 이만."; break;
}
PushMsg(1, 0, $general['picture'], $general['imgsvr'], "{$general['name']}:", $nation['color'], $nation['name'], $nation['color'], $str);
$src = new MessageTarget(
$general['no'],
$general['name'],
$general['nation'],
$nation['name'],
$nation['color'],
GetImageURL($general['imgsvr'], $general['picture'])
);
$msg = new Message(
Message::MSGTYPE_PUBLIC,
$src,
$src,
$str,
new \DateTime(),
new \DateTime('9999-12-31')
);
$msg->send();
}
//국가 기술력 그대로