enemy-portals codebase improvement.