mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-05-23 23:27:10 +01:00
f8a538eff9
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.