mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
A simple optimization to can_safely_remove_from_zone() both with and without multi-zas. Instead of allocating a new list every time we call get_zone_neighbours() (which gets called several times in a loop) we have a pre-built list we don't need to Copy(). Same story for the list to iterate over in can_safely_remove_from_zone() There should be no semantic change whatsoever from this; it is purely a performance optimization.