|
@@ -57,6 +57,11 @@ void card_location_base::on_message(zloop<task*> * loop,const message_locinfo&lo
|
|
m_time = loc.m_time_stamp;
|
|
m_time = loc.m_time_stamp;
|
|
auto site_ptr = sit_list::instance()->get(loc.m_site_id);
|
|
auto site_ptr = sit_list::instance()->get(loc.m_site_id);
|
|
|
|
|
|
|
|
+ if(!site_ptr)
|
|
|
|
+ {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
if(site_ptr->is_up_site())
|
|
if(site_ptr->is_up_site())
|
|
{
|
|
{
|
|
auto area_tool=get_area_tool();
|
|
auto area_tool=get_area_tool();
|