- Sector::current()->add_object(new Electrifier(200, 1421, ELECTRIFY_TIME));
- Sector::current()->add_object(new Electrifier(201, 1422, ELECTRIFY_TIME));
+ Sector::current()->add_object(std::make_shared<Electrifier>(200, 1421, ELECTRIFY_TIME));
+ Sector::current()->add_object(std::make_shared<Electrifier>(201, 1422, ELECTRIFY_TIME));