local to_del = { ["grim_level_changer_to_cit"] = true, ["grim_space_restrictor_to_cit"] = true, ["cit_level_changer_to_grim"] = true, ["cit_space_restrictor_to_grim"] = true, ["mil_level_changer_to_prom"] = true, ["mil_space_restrictor_to_prom"] = true, ["prom_level_changer_to_military"] = true, ["prom_space_restrictor_to_military"] = true, } function actor_on_first_update() for i = 1, 65534 do local se_obj = alife_object(i) if se_obj and se_obj.name and se_obj:name() and to_del[se_obj:name()] then alife_release(se_obj) end end end function on_game_start() RegisterScriptCallback("actor_on_first_update", actor_on_first_update) end