Browse Source

fix send2web

zhuyf 4 years ago
parent
commit
d868cdd919
1 changed files with 2 additions and 2 deletions
  1. 2 2
      card_car.cpp

+ 2 - 2
card_car.cpp

@@ -134,8 +134,8 @@ void car::handle_traffic_light(const point& p)
 
 void car::on_timer()
 {
-    //if(!empty())
-	make_package();
+    if(!empty())
+	    make_package();
 }
 int car::get_area()
 {